backend/bugfix-request #199

Merged
cami merged 2 commits from backend/bugfix-request into main 2021-07-22 23:05:14 +00:00

View file

@ -113,7 +113,7 @@ def refresh():
$ curl http://localhost:5000/api/refresh -X GET \
-H "Authorization: Bearer <your_token>"
"""
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