Add missing marshal_with_fields.
This commit is contained in:
parent
02720a3fb6
commit
22fcfb3e42
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user