diff --git a/routes/api/lease/approve.ts b/routes/api/lease/approve.ts index b2f7000..3120c34 100644 --- a/routes/api/lease/approve.ts +++ b/routes/api/lease/approve.ts @@ -98,7 +98,7 @@ export const handler = define.handlers({ : lease.property_address || "Property", tenant_name: tenant?.name || "Tenant", landlord_name: landlord?.name || "Landlord", - monthly_rent: property?.monthly_rent || lease.rent, + monthly_rent: property?.monthly_rent ?? lease.rent ?? undefined, }); }