From b15caf8b7cd8337bee74d0bebaf7bc438adb13a3 Mon Sep 17 00:00:00 2001 From: Karan Deep Date: Thu, 9 Jan 2025 22:37:00 +0530 Subject: [PATCH] updated the code --- Packs/SilentPush/Integrations/SilentPush/SilentPush.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Packs/SilentPush/Integrations/SilentPush/SilentPush.py b/Packs/SilentPush/Integrations/SilentPush/SilentPush.py index 4c2cf8a9de89..fc56db7e38c2 100644 --- a/Packs/SilentPush/Integrations/SilentPush/SilentPush.py +++ b/Packs/SilentPush/Integrations/SilentPush/SilentPush.py @@ -120,9 +120,6 @@ def list_domain_information(self, domain: str) -> dict: return self._http_request('GET', url_suffix) -''' COMMAND FUNCTIONS ''' - - def test_module(client: Client) -> str: """ Tests connectivity to the SilentPush API and checks the authentication status. @@ -146,6 +143,10 @@ def test_module(client: Client) -> str: if 'Forbidden' in str(e) or 'Authorization' in str(e): return 'Authorization Error: make sure API Key is correctly set' raise e + + +''' COMMAND FUNCTIONS ''' + def list_domain_information_command(client: Client, args: dict) -> CommandResults: """