diff --git a/routes/api/lease/reject.ts b/routes/api/lease/reject.ts index 9d856af..11aab46 100644 --- a/routes/api/lease/reject.ts +++ b/routes/api/lease/reject.ts @@ -100,7 +100,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, }); }