Convert types to support valid json

This commit is contained in:
Matthias
2020-06-15 08:47:18 +02:00
parent a38b33cd9c
commit 133ca9c770
2 changed files with 9 additions and 7 deletions

View File

@@ -517,7 +517,7 @@ class ApiServer(RPC):
"""
pair = request.args.get("pair")
timeframe = request.args.get("timeframe")
limit = request.args.get("limit")
limit = request.args.get("limit", type=int)
results = self._rpc_analysed_history(pair, timeframe, limit)
return self.rest_dump(results)