From 11466b9d68912d66b4f68165d22214d62cc50f6a Mon Sep 17 00:00:00 2001 From: Fernando Aureliano da Silva Maia Date: Mon, 23 Oct 2023 18:42:35 -0300 Subject: [PATCH] add FIXME to request_cookies --- tokendito/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tokendito/user.py b/tokendito/user.py index 955964c6..3e0c2b17 100644 --- a/tokendito/user.py +++ b/tokendito/user.py @@ -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)