From d9c3b8ced3bd5a6f154af41bef71e9383da27f37 Mon Sep 17 00:00:00 2001 From: "open-swe-dev-andrinoid[bot]" Date: Thu, 29 Jan 2026 19:07:17 +0000 Subject: [PATCH] Apply patch [skip ci] --- routes/api/lease/request-approval.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/api/lease/request-approval.ts b/routes/api/lease/request-approval.ts index 211fe83..0446d13 100644 --- a/routes/api/lease/request-approval.ts +++ b/routes/api/lease/request-approval.ts @@ -99,7 +99,7 @@ export const handler = define.handlers({ await updateTenantInvite(invite_id, { lease_id: lease.id }); - if (invite.landlord_id) { +if (invite.landlord_id) { const tenant = await getUserById(user_id); const landlord = await getUserById(invite.landlord_id); @@ -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 ?? undefined, + monthly_rent: property.monthly_rent, }); }