This commit is contained in:
Oscar Krause 2022-12-27 20:10:18 +01:00
parent 07f1e64553
commit 85736c5ce4

View File

@ -380,7 +380,7 @@ async def leasing_v1_lessor_lease_remove(request: Request):
origin_ref = token['origin_ref']
released_lease_list = list(map(lambda x: x.lease_ref, Lease.find_by_origin_ref(db, origin_ref)))
deletions = Lease.ceanup(db, origin_ref)
deletions = Lease.cleanup(db, origin_ref)
logging.info(f'> [ remove ]: {origin_ref}: removed {deletions} leases')
response = {