mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -216,7 +216,7 @@ Controllers.registerInterstitial = async function (req, res, next) {
|
||||
};
|
||||
|
||||
Controllers.confirmEmail = function (req, res) {
|
||||
user.email.confirmByCode(req.params.code, function (err) {
|
||||
user.email.confirmByCode(req.params.code, (err) => {
|
||||
res.render('confirm', {
|
||||
error: err ? err.message : '',
|
||||
title: '[[pages:confirm]]',
|
||||
|
||||
Reference in New Issue
Block a user