Apply patch [skip ci]
This commit is contained in:
parent
336b469983
commit
d9c3b8ced3
@ -99,7 +99,7 @@ export const handler = define.handlers({
|
|||||||
|
|
||||||
await updateTenantInvite(invite_id, { lease_id: lease.id });
|
await updateTenantInvite(invite_id, { lease_id: lease.id });
|
||||||
|
|
||||||
if (invite.landlord_id) {
|
if (invite.landlord_id) {
|
||||||
const tenant = await getUserById(user_id);
|
const tenant = await getUserById(user_id);
|
||||||
const landlord = await getUserById(invite.landlord_id);
|
const landlord = await getUserById(invite.landlord_id);
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ export const handler = define.handlers({
|
|||||||
: property.title || "Property",
|
: property.title || "Property",
|
||||||
tenant_name: tenant?.name || "Tenant",
|
tenant_name: tenant?.name || "Tenant",
|
||||||
landlord_name: landlord?.name || "Landlord",
|
landlord_name: landlord?.name || "Landlord",
|
||||||
monthly_rent: property.monthly_rent ?? undefined,
|
monthly_rent: property.monthly_rent,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user