Apply patch [skip ci]

This commit is contained in:
open-swe-dev-andrinoid[bot] 2026-01-29 19:09:09 +00:00 committed by Nathan Anderson
parent 67cad2a3bb
commit 1b2d62ee9d

View File

@ -85,6 +85,8 @@ export const handler = define.handlers({
}
const rejectedLease = result[0];
if (lease.tenant_id) {
const tenant = await getUserById(lease.tenant_id);
const landlord = await getUserById(user_id);
const property = lease.property_id
@ -100,6 +102,7 @@ export const handler = define.handlers({
landlord_name: landlord?.name || "Landlord",
monthly_rent: property?.monthly_rent || lease.rent,
});
}
return new Response(
JSON.stringify({