From a8532dd987ab89455e3cd264f656352d898401b6 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 25 May 2017 23:18:59 +0200 Subject: [PATCH] Fixmes. --- accountant/views/accounts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: