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
+4 -1
View File
@@ -218,11 +218,14 @@ extraction.begin = async (req, res) => {
extractionLink
}
)
const emailSubject = i18next.t('Luščenje končano', { lng: authorLanguage })
await email.send({
to: authorEmail,
subject: i18next.t('Luščenje končano', { lng: authorLanguage }),
subject: emailSubject,
html: emailHtml
})
// eslint-disable-next-line no-console
console.log(`Sent email to ${authorEmail} (subject: ${emailSubject})`)
} catch (error) {
// eslint-disable-next-line no-console
console.error(error)