diff --git a/accountant/api/views/operations.py b/accountant/api/views/operations.py index b89bcc3..0aca19f 100644 --- a/accountant/api/views/operations.py +++ b/accountant/api/views/operations.py @@ -73,7 +73,7 @@ class OperationListResource(Resource): return Operation.query( begin=data['begin'], - end=data['end'], + end=data['end'] ).filter( Operation.account_id == data['account_id'] ).all(), 200