diff --git a/app/service/Users.py b/app/service/Users.py index a7de311..075fcf6 100644 --- a/app/service/Users.py +++ b/app/service/Users.py @@ -106,9 +106,8 @@ def delete_notification(self, user_id: int, notification_id: int): self.user_repository.rollback() raise e - def get_user_auth(self, user_data): + def get_user_auth(self, user_data): # pragma: no cover token = user_data.get("token") - print(f"Token: {token}") decoded_token = jwt.decode(token, os.environ["JWT_SECRET"], algorithms=["HS256"]) @@ -150,7 +149,6 @@ def login(self, auth_code: str): jwt_token = jwt.encode(payload, os.environ["JWT_SECRET"], algorithm="HS256") - print(f"Token: {jwt_token}") return user, jwt_token def _get_access_token(self, authorization_code): # pragma: no cover