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