Add fixmes.
This commit is contained in:
parent
ac611b09b2
commit
e921dbeb5f
@ -127,6 +127,9 @@ class OperationListResource(Resource):
|
||||
data = self.api.payload
|
||||
|
||||
account_id = data['account_id']
|
||||
|
||||
# FIXME Alexis Lahouze 2017-05-19 Check account_id presence.
|
||||
|
||||
account = Account.query().get(account_id)
|
||||
|
||||
if not account:
|
||||
|
@ -90,4 +90,6 @@ class LoginResource(Resource):
|
||||
"""Get authenticated user information."""
|
||||
user = User.query().get(get_jwt_identity())
|
||||
|
||||
# FIXME Alexis Lahouze 2017-05-19 Check user presence
|
||||
|
||||
return user, 200
|
||||
|
Loading…
Reference in New Issue
Block a user