Another batch of important updates and fixes

This commit is contained in:
Luka Romih
2026-02-23 15:29:58 +01:00
parent d0e53fee3b
commit fd02e25719
40 changed files with 216 additions and 71 deletions
+8 -2
View File
@@ -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})`)
}