Add fixmes.

This commit is contained in:
Alexis Lahouze 2017-05-25 22:11:19 +02:00
parent ac611b09b2
commit e921dbeb5f
2 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,9 @@ class OperationListResource(Resource):
data = self.api.payload data = self.api.payload
account_id = data['account_id'] account_id = data['account_id']
# FIXME Alexis Lahouze 2017-05-19 Check account_id presence.
account = Account.query().get(account_id) account = Account.query().get(account_id)
if not account: if not account:

View File

@ -90,4 +90,6 @@ class LoginResource(Resource):
"""Get authenticated user information.""" """Get authenticated user information."""
user = User.query().get(get_jwt_identity()) user = User.query().get(get_jwt_identity())
# FIXME Alexis Lahouze 2017-05-19 Check user presence
return user, 200 return user, 200