Verified Commit d074ef39 authored by les's avatar les
Browse files

test smtp email default locale is en

parent 44f1e56b
......@@ -133,7 +133,7 @@ const settingsController = {
await settingsController.set('smtp', smtp.smtp)
const mail = require('../mail')
try {
await mail._send(settingsController.settings.admin_email, 'test')
await mail._send(settingsController.settings.admin_email, 'test', null, 'en')
return res.sendStatus(200)
} catch (e) {
console.error(e)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment