fix: delete follower/followingCount as well

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 52650436c3
commit d72b0d1616

@ -28,7 +28,7 @@ module.exports = {
fields.push(field);
}
});
['profileviews', 'reputation', 'postcount', 'topiccount', 'lastposttime', 'banned'].forEach((field) => {
['profileviews', 'reputation', 'postcount', 'topiccount', 'lastposttime', 'banned', 'followerCount', 'followingCount'].forEach((field) => {
if (user[field] === 0) {
fields.push(field);
}

Loading…
Cancel
Save