From 2b8c4682708d20e1695b563baf35dca85cb3d838 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 3 Jan 2023 07:25:09 +0100 Subject: [PATCH] main.py - fixed missing 'LEASE_RENEWAL_PERIOD' on '/auth/v1/origin' --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 02fe569..e63fc5e 100644 --- a/app/main.py +++ b/app/main.py @@ -429,7 +429,7 @@ async def leasing_v1_lease_renew(request: Request, lease_ref: str): response = { "lease_ref": lease_ref, "expires": expires.isoformat(), - "recommended_lease_renewal": 0.16, + "recommended_lease_renewal": LEASE_RENEWAL_PERIOD, "offline_lease": True, "prompts": None, "sync_timestamp": cur_time.isoformat(),