Set default shipcall lookup to max 1 day in the past

This commit is contained in:
Daniel Schick 2024-02-09 12:42:18 +01:00
parent e5ed4f83b9
commit 6e114d15e7

View File

@ -17,7 +17,7 @@ def GetShipcalls():
token = request.headers.get('Authorization')
options = {}
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)
else: