fix: update email recipient logic in renderCompanyOfferEmail function
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user