From 14122240bf8ca977e1f0e3a2e7f88b3a7dabb1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20POIR=C3=89?= Date: Mon, 8 Dec 2025 13:20:32 +0000 Subject: [PATCH] Actualiser modules/ApiService.ps1 --- modules/ApiService.ps1 | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/modules/ApiService.ps1 b/modules/ApiService.ps1 index ecc95de..b2941b7 100644 --- a/modules/ApiService.ps1 +++ b/modules/ApiService.ps1 @@ -164,20 +164,4 @@ function RemoveContactFromBrevo{ catch { return [PSCustomObject]@{ Success = $false; Value = "Erreur lors de la suppresion de l'utilisateur $Email à la liste $IdListe : $($_.Exception.Message)" } } -} - -#$test = AddContactToBrevo -Email "tris.ta@esadhar.fr" -#$test = AddContactBrevoToList -Email "tris.ta@esadhar.fr" -IdListe 9 -#$test = RemoveContactFromListBrevo -Email "tris.ta@esadhar.fr" -IdListe 9 -#$test = RemoveContactFromBrevo -Email "toto.tata@esadhar.fr" - - -# if (-not $test.Success) -# { -# Write-Output $test.Value -Level ERROR -# Write-Output "error" -# } -# else{ -# Write-Output $test.Value -# Write-Output "ok" -# } \ No newline at end of file +} \ No newline at end of file