Skip to content

Commit

Permalink
updated the code
Browse files Browse the repository at this point in the history
  • Loading branch information
karand-metron committed Jan 9, 2025
1 parent c7a977d commit b15caf8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Packs/SilentPush/Integrations/SilentPush/SilentPush.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
"""
Expand Down

0 comments on commit b15caf8

Please sign in to comment.