mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
fix: broken 50% border radius on emails, failing tests
This commit is contained in:
@@ -204,7 +204,9 @@ Emailer.send = function (template, uid, params, callback) {
|
||||
params.rtl = await translator.translate('[[language:dir]]', results.settings.userLang) === 'rtl';
|
||||
Emailer.sendToEmail(template, results.email, results.settings.userLang, params, function () {});
|
||||
},
|
||||
], callback);
|
||||
], function (err) {
|
||||
return callback(err);
|
||||
});
|
||||
};
|
||||
|
||||
Emailer.sendToEmail = function (template, email, language, params, callback) {
|
||||
|
||||
Reference in New Issue
Block a user