diff --git a/accountant/views/accounts.py b/accountant/views/accounts.py index 5cc89d4..622ac30 100644 --- a/accountant/views/accounts.py +++ b/accountant/views/accounts.py @@ -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: