From d4a35c409500ee0dc05acd4b563b403ddc684c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de> Date: Sat, 22 Jun 2024 19:06:37 +0200 Subject: [PATCH] Fix invalid method call --- src/api/authentication.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/api/authentication.py b/src/api/authentication.py index 3d6e497..364be95 100644 --- a/src/api/authentication.py +++ b/src/api/authentication.py @@ -622,11 +622,8 @@ else: for course in moodle_response["Data"]: moodle_courses.append(str(course["id"])) else: - #TODO - api.notify_admins( - 'endpoint_exception', - traceback="try_finish_running_authentication failed while getting moodle courses, data={}" - .format(str(moodle_response))) + # TODO notify + pass __make_oauth_request("token", refresh_token=token_response["refresh_token"], grant_type="invalidate") except ApiClientException: -- GitLab