fix: remove unused data from post/topic/user hashes

This commit is contained in:
Barış Soner Uşaklı
2019-10-07 23:13:43 -04:00
parent 4bc77d064b
commit 75bcb0f484
8 changed files with 156 additions and 39 deletions

View File

@@ -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) {