mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 04:06:06 +00:00 
			
		
		
		
	main.py - fixed missing 'LEASE_RENEWAL_PERIOD' on '/auth/v1/origin'
This commit is contained in:
		@@ -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(),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user