mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-11-21 13:58:51 +00:00
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 = {
|
||||
"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(),
|
||||
|
Loading…
Reference in New Issue
Block a user