This commit is contained in:
Alexis Lahouze 2017-05-25 23:18:59 +02:00
parent 5d9cc0a953
commit a8532dd987
1 changed files with 4 additions and 1 deletions

View File

@ -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: