Skip to content

Commit

Permalink
Linting adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Oct 25, 2021
1 parent f73d197 commit d8f3b8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/falconpy/_payload/_falconx.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def falconx_payload(passed_keywords: dict) -> dict:
"user_tags": [
"string"
]
}
}
"""
returned_payload = {}
sandbox = []
Expand All @@ -79,7 +79,8 @@ def falconx_payload(passed_keywords: dict) -> dict:
sandbox.append(sandbox_item)

if passed_keywords.get("send_email_notifications", None) is not None:
returned_payload["send_email_notifications"] = passed_keywords.get("send_email_notifications", None)
email_notify = passed_keywords.get("send_email_notifications", None)
returned_payload["send_email_notifications"] = email_notify
if passed_keywords.get("user_tags", None):
returned_payload["user_tags"] = passed_keywords.get("user_tags", None)

Expand Down

0 comments on commit d8f3b8d

Please sign in to comment.