oopsie
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2020-11-26 21:33:44 +01:00
parent 3efaa34b94
commit a93e3a273d
3 changed files with 6 additions and 3 deletions

View File

@@ -22,6 +22,6 @@ class MeApi(Resource):
try:
currusername = flaskred.get(request.headers.get('Authorization')).decode('UTF-8')
except Exception as e:
current_app.logger.warning(e)
current_app.logger.info(e)
abort(401, "unauthorized")
return {"name": currusername}, 200