From 90b351ba640ebec06ebb7227f9e526d0360e68fb Mon Sep 17 00:00:00 2001 From: Alex Ottr Date: Sat, 6 Apr 2024 21:54:29 +0200 Subject: [PATCH] remove faulty prints --- fbl_integration/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fbl_integration/utils.py b/fbl_integration/utils.py index f09021b..a64b399 100644 --- a/fbl_integration/utils.py +++ b/fbl_integration/utils.py @@ -8,7 +8,7 @@ def fbl_auth_request_code(badge_number: int, dob: str) -> bool: "password": dob }) if res.status_code != 201: - print(res.status_code, res.json()) + print(res.status_code) return False return True @@ -19,7 +19,7 @@ def fbl_auth_validate_code(badge_number: str, dob: str, validation_code: str) -> "code": validation_code }) if res.status_code != 201: - print(res.status_code, res.json()) + print(res.status_code) return None return res.json()["accessToken"] @@ -29,7 +29,7 @@ def fbl_auth_get_account(jwt_token: str) -> dict[str, str] | None: "Authorization": f"Bearer {jwt_token}" }) if res.status_code != 200: - print(res.status_code, res.json()) + print(res.status_code) return None return res.json() -- 2.51.2