Add missing marshal_with_fields.

This commit is contained in:
Alexis Lahouze 2016-01-13 11:52:04 +01:00
parent 02720a3fb6
commit 22fcfb3e42

View File

@ -180,6 +180,7 @@ ohlc_model = {
class OHLCResource(Resource): class OHLCResource(Resource):
@requires_auth @requires_auth
@marshal_with_field(fields.List(Object(ohlc_model)))
def get(self): def get(self):
data = range_parser.parse_args() data = range_parser.parse_args()