mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
fixed flags list in account info page
This commit is contained in:
@@ -51,7 +51,7 @@ module.exports = function (User) {
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
async.parallel({
|
||||
flags: async.apply(db.getSortedSetRevRangeWithScores, 'uid:' + uid + ':flag:pids', 0, 19),
|
||||
flags: async.apply(db.getSortedSetRevRangeWithScores, 'flags:byTargetUid:' + uid, 0, 19),
|
||||
bans: async.apply(db.getSortedSetRevRangeWithScores, 'uid:' + uid + ':bans', 0, 19),
|
||||
reasons: async.apply(db.getSortedSetRevRangeWithScores, 'banned:' + uid + ':reasons', 0, 19),
|
||||
}, next);
|
||||
|
||||
Reference in New Issue
Block a user