main.py - fixed missing 'LEASE_RENEWAL_PERIOD' on '/auth/v1/origin'
This commit is contained in:
parent
50e0dc8d1f
commit
2b8c468270
@ -429,7 +429,7 @@ async def leasing_v1_lease_renew(request: Request, lease_ref: str):
|
|||||||
response = {
|
response = {
|
||||||
"lease_ref": lease_ref,
|
"lease_ref": lease_ref,
|
||||||
"expires": expires.isoformat(),
|
"expires": expires.isoformat(),
|
||||||
"recommended_lease_renewal": 0.16,
|
"recommended_lease_renewal": LEASE_RENEWAL_PERIOD,
|
||||||
"offline_lease": True,
|
"offline_lease": True,
|
||||||
"prompts": None,
|
"prompts": None,
|
||||||
"sync_timestamp": cur_time.isoformat(),
|
"sync_timestamp": cur_time.isoformat(),
|
||||||
|
Loading…
Reference in New Issue
Block a user