diff --git a/SE_API/API.py b/SE_API/API.py index 776d7bb..3f7c71e 100644 --- a/SE_API/API.py +++ b/SE_API/API.py @@ -48,7 +48,7 @@ def getUserByToken(token): for u in query.run(limit=5): return u.to_JSON() - return json.loads({'message' : 'No User Found'}), 403 + return json.dumps({'message' : 'No User Found'}), 403 @app.route('/githubOAuth')