Fixmes.
This commit is contained in:
parent
5d9cc0a953
commit
a8532dd987
@ -320,11 +320,12 @@ class CategoryResource(Resource):
|
||||
|
||||
@ns.expect(range_parser)
|
||||
@ns.marshal_list_with(category_model)
|
||||
@jwt_required
|
||||
#@jwt_required
|
||||
def get(self, account_id):
|
||||
"""Get account category balances for a specific date range."""
|
||||
|
||||
data = range_parser.parse_args()
|
||||
|
||||
# FIXME Alexis Lahouze 2017-05-23 check data.
|
||||
|
||||
account = Account.query().get(account_id)
|
||||
@ -360,6 +361,8 @@ class DailyBalancesResource(Resource):
|
||||
|
||||
data = range_parser.parse_args()
|
||||
|
||||
# FIXME Alexis Lahouze 2017-05-23 check data.
|
||||
|
||||
account = Account.query().get(account_id)
|
||||
|
||||
if not account:
|
||||
|
Loading…
Reference in New Issue
Block a user