Another batch of important updates and fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user