Uncomment jwt_required.

This commit is contained in:
Alexis Lahouze 2017-05-25 23:31:12 +02:00
parent d5142bf3a6
commit a0a8aee818
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ 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."""

View File

@ -102,7 +102,7 @@ class OperationListResource(Resource):
@ns.response(200, 'OK', [operation_with_balance_model])
@ns.expect(account_range_parser)
@ns.marshal_list_with(operation_with_balance_model)
#@jwt_required
@jwt_required
def get(self):
"""Get operations with cumulated balance for a specific account."""