Skip to content

Commit

Permalink
Fix body payload handler. Closes #1074.
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Nov 18, 2023
1 parent c59c4ee commit a6d1447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/falconpy/installation_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def tokens_update(self: object, body: dict, parameters: dict = None, **kwargs) -
"""
if not body:
body = installation_token_payload(passed_keywords=kwargs)
if kwargs.get("revoked", None):
if kwargs.get("revoked", None) is not None:
body["revoked"] = kwargs.get("revoked", None)

return process_service_request(
Expand Down

0 comments on commit a6d1447

Please sign in to comment.