From ffef8f66d26e3a8601208d93871600e02e035222 Mon Sep 17 00:00:00 2001 From: cami Date: Fri, 23 Jul 2021 00:52:36 +0200 Subject: [PATCH] Added a bugfix in the backend --- backend/src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app.py b/backend/src/app.py index 7f66284..470e4cf 100644 --- a/backend/src/app.py +++ b/backend/src/app.py @@ -113,7 +113,7 @@ def refresh(): $ curl http://localhost:5000/api/refresh -X GET \ -H "Authorization: Bearer " """ - old_token = request.get_data() + old_token = flask.request.get_data() new_token = guard.refresh_jwt_token(old_token) ret = {'access_token': new_token} return ret, 200