test smtp email default locale is en
This commit is contained in:
@@ -133,7 +133,7 @@ const settingsController = {
|
|||||||
await settingsController.set('smtp', smtp.smtp)
|
await settingsController.set('smtp', smtp.smtp)
|
||||||
const mail = require('../mail')
|
const mail = require('../mail')
|
||||||
try {
|
try {
|
||||||
await mail._send(settingsController.settings.admin_email, 'test')
|
await mail._send(settingsController.settings.admin_email, 'test', null, 'en')
|
||||||
return res.sendStatus(200)
|
return res.sendStatus(200)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
console.error(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user