mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
replace hard-coded email address with env var for the remaining files
This commit is contained in:
parent
a87f75f319
commit
4c75260229
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue