Set default shipcall lookup to max 1 day in the past
This commit is contained in:
parent
e5ed4f83b9
commit
6e114d15e7
@ -17,7 +17,7 @@ def GetShipcalls():
|
|||||||
token = request.headers.get('Authorization')
|
token = request.headers.get('Authorization')
|
||||||
options = {}
|
options = {}
|
||||||
options["participant_id"] = request.args.get("participant_id")
|
options["participant_id"] = request.args.get("participant_id")
|
||||||
options["past_days"] = request.args.get("past_days", default=2, type=int)
|
options["past_days"] = request.args.get("past_days", default=1, type=int)
|
||||||
|
|
||||||
return impl.shipcalls.GetShipcalls(options)
|
return impl.shipcalls.GetShipcalls(options)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user