From 22fcfb3e42c664cd70ecd093aa3d25d8d474c6af Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 13 Jan 2016 11:52:04 +0100 Subject: [PATCH] Add missing marshal_with_fields. --- accountant/api/views/accounts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/accountant/api/views/accounts.py b/accountant/api/views/accounts.py index cb1e03f..66556a9 100644 --- a/accountant/api/views/accounts.py +++ b/accountant/api/views/accounts.py @@ -180,6 +180,7 @@ ohlc_model = { class OHLCResource(Resource): @requires_auth + @marshal_with_field(fields.List(Object(ohlc_model))) def get(self): data = range_parser.parse_args()