fix: update email recipient logic in renderCompanyOfferEmail function

This commit is contained in:
Danel Kungla
2025-08-07 18:04:44 +03:00
parent 2850478443
commit aba4596edd
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ export async function renderCompanyOfferEmail({
namespace,
});
const to = process.env.CONTACT_EMAIL || '';
const to = companyData.email || '';
const previewText = t(`${namespace}:previewText`, {
companyName: companyData.companyName,