Another batch of important updates and fixes
This commit is contained in:
@@ -76,11 +76,14 @@ exports.minEntriesRequirementCheckAndAct = {
|
||||
})
|
||||
|
||||
// TODO i18n - What language are the email title and content (we already have email translated)
|
||||
const emailSubject = __('Obvestilo o številu gesel')
|
||||
await email.send({
|
||||
to: allEmails,
|
||||
subject: __('Obvestilo o številu gesel'),
|
||||
subject: emailSubject,
|
||||
html: emailHtml
|
||||
})
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`Sent email to ${allEmails} (subject: ${emailSubject})`)
|
||||
|
||||
await minEntriesEmailBookmark.set(dictionaryId)
|
||||
},
|
||||
@@ -207,9 +210,12 @@ async function renderAndSendStatusChangeEmails(
|
||||
})
|
||||
|
||||
// TODO i18n - What language are the email title and content (we already have email translated)
|
||||
const emailSubject = __('Sprememba stanja slovarja')
|
||||
await email.send({
|
||||
to: targetEmails,
|
||||
subject: __('Sprememba stanja slovarja'),
|
||||
subject: emailSubject,
|
||||
html: emailHtml
|
||||
})
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`Sent email to ${targetEmails} (subject: ${emailSubject})`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user