replace hard-coded email address with env var for the remaining files
This commit is contained in:
committed by
Jackson Harper
parent
a87f75f319
commit
4c75260229
@ -31,7 +31,7 @@ export class ContentDisplayReportSubscriber
|
||||
to: env.sender.feedback,
|
||||
subject: 'New content display report',
|
||||
text: message,
|
||||
from: 'msgs@omnivore.app',
|
||||
from: env.sender.message,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ export function remindersServiceRouter() {
|
||||
console.log('dynamic template data:', dynamicTemplateData)
|
||||
|
||||
await sendEmail({
|
||||
from: 'msgs@omnivore.app',
|
||||
from: env.sender.message,
|
||||
dynamicTemplateData: dynamicTemplateData,
|
||||
templateId: process.env.SENDGRID_REMINDER_TEMPLATE_ID,
|
||||
to: user.email,
|
||||
|
||||
Reference in New Issue
Block a user