diff --git a/routes/api/lease/request-approval.ts b/routes/api/lease/request-approval.ts index e00acb3..70af612 100644 --- a/routes/api/lease/request-approval.ts +++ b/routes/api/lease/request-approval.ts @@ -110,7 +110,7 @@ export const handler = define.handlers({ : property.title || "Property", tenant_name: tenant?.name || "Tenant", landlord_name: landlord?.name || "Landlord", - monthly_rent: property.monthly_rent, + monthly_rent: property.monthly_rent ?? undefined, }); } await sendLeaseApprovalRequest(invite.landlord_id, {