Apply patch [skip ci]

This commit is contained in:
open-swe-dev-andrinoid[bot] 2026-01-29 19:08:40 +00:00 committed by Nathan Anderson
parent 6f04b3dad5
commit 432faeb4ac

View File

@ -113,6 +113,16 @@ if (invite.landlord_id) {
monthly_rent: property.monthly_rent, monthly_rent: property.monthly_rent,
}); });
} }
await sendLeaseApprovalRequest(invite.landlord_id, {
lease_id: lease.id,
property_address: property.address_1
? `${property.address_1}, ${property.city}, ${property.state}`
: property.title || "Property",
tenant_name: tenant?.name || "Tenant",
landlord_name: landlord?.name || "Landlord",
monthly_rent: property.monthly_rent,
});
}
return new Response( return new Response(
JSON.stringify({ JSON.stringify({