Skip to content

Commit

Permalink
add FIXME to request_cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Aureliano da Silva Maia committed Oct 23, 2023
1 parent cd5974a commit 11466b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokendito/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,7 @@ def request_cookies(url, session_token):
# Use the HTTP client to make a POST request.
response_json = HTTP_client.post(url, json=data, headers=headers, return_json=True)

# FIXME
if "id" not in response_json:
logger.error(f"'id' not found in response. Full response: {response_json}")
sys.exit(1)
Expand Down

0 comments on commit 11466b9

Please sign in to comment.