diff --git a/accountant/views/accounts.py b/accountant/views/accounts.py index 49fe347..89e8fa2 100644 --- a/accountant/views/accounts.py +++ b/accountant/views/accounts.py @@ -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.""" diff --git a/accountant/views/operations.py b/accountant/views/operations.py index 65be98e..68a4e81 100644 --- a/accountant/views/operations.py +++ b/accountant/views/operations.py @@ -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."""