mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 11:15:28 +02:00
fix: remove unused data from post/topic/user hashes
This commit is contained in:
@@ -12,7 +12,7 @@ const utils = require('../utils');
|
||||
const intFields = [
|
||||
'uid', 'postcount', 'topiccount', 'reputation', 'profileviews',
|
||||
'banned', 'banned:expire', 'email:confirmed', 'joindate', 'lastonline', 'lastqueuetime',
|
||||
'lastposttime', 'followingCount', 'followerCount',
|
||||
'lastposttime', 'followingCount', 'followerCount', 'passwordExpiry',
|
||||
];
|
||||
|
||||
module.exports = function (User) {
|
||||
|
||||
Reference in New Issue
Block a user