Suspendedremoval
Some checks failed
Build and Push / build (push) Failing after 41s

This commit is contained in:
2026-05-01 18:11:42 +02:00
parent a5812dca9a
commit de1bb9bd02
2 changed files with 10 additions and 9 deletions

View File

@@ -103,11 +103,13 @@ export async function POST(
);
}
await updateTenantRequestStatus(id, "approved", adminNotes);
await updateTenantRequestStatus(id, "approved", { adminNotes });
await sendApprovalEmail(tenantRequest, tenantRequest.tenantName).catch(
(e) => console.error("approval email failed:", e)
);
await sendApprovalEmail(
tenantRequest.contactEmail,
tenantRequest.contactName,
tenantRequest.companyName
).catch((e) => console.error("approval email failed:", e));
return NextResponse.json({
message: "Resume approved. Tenant is reactivating.",