Skip to content

Commit

Permalink
resolved linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
anuj-metron committed Dec 12, 2024
1 parent 319ab79 commit 8aefef2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Packs/Doppel/Integrations/Doppel/Doppel.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ def get_alert(self, id: str, entity: str) -> Dict[str, str]:
)
return response_content

def update_alert(self, queue_state: str, entity_state: str, alert_id: Optional[str] = None, entity: Optional[str] = None) -> Dict[str, Any]:
def update_alert(
self,
queue_state: str,
entity_state: str,
alert_id: Optional[str] = None,
entity: Optional[str] = None,
) -> Dict[str, Any]:
"""
Updates an existing alert using either the alert ID or the entity.
Expand All @@ -84,7 +90,7 @@ def update_alert(self, queue_state: str, entity_state: str, alert_id: Optional[s
method="PUT", # Changed to PUT as per reference
full_url=api_url,
params=params,
json_data=payload
json_data=payload,
)
return response_content

Expand Down

0 comments on commit 8aefef2

Please sign in to comment.