fix code style
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
weeman 2021-06-21 21:22:39 +02:00
parent 2f0dd2ab9f
commit d96dfa8800
Signed by: weeman
GPG Key ID: 34F0524D4DA694A1
2 changed files with 4 additions and 7 deletions

View File

@ -47,9 +47,9 @@ flake8
Um ein einheitliches Quellcode-Erlebnis zu haben, kann der Code mit yapf neu formatiert werden:
'''
```
yapf -i --recursive ki/
'''
```
### Testbenutzer

View File

@ -99,11 +99,8 @@ def login():
if token is None:
return make_response({}, 403)
return make_response(
{
"token": token.token,
"user_id": token.user_id
})
return make_response({"token": token.token, "user_id": token.user_id})
@app.route("/users/<user_id>/profile")
@token_auth