API: fixed response at /api/getUserByToken
This commit is contained in:
parent
17665d1bf7
commit
58a0617395
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue