mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-20 21:47:46 +01:00
omg tests (#5232), and .create returns flag data now
This commit is contained in:
@@ -25,7 +25,11 @@ modsController.flags.list = function (req, res, next) {
|
||||
res.locals.cids = results.moderatedCids;
|
||||
}
|
||||
|
||||
flags.list({}, function(err, flags) {
|
||||
flags.list({}, function (err, flags) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
res.render('flags/list', {
|
||||
flags: flags
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user