mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: remove 0 fields
This commit is contained in:
@@ -33,9 +33,6 @@ module.exports = function (Topics) {
|
|||||||
lastposttime: 0,
|
lastposttime: 0,
|
||||||
postcount: 0,
|
postcount: 0,
|
||||||
viewcount: 0,
|
viewcount: 0,
|
||||||
locked: 0,
|
|
||||||
deleted: 0,
|
|
||||||
pinned: 0,
|
|
||||||
};
|
};
|
||||||
if (data.thumb) {
|
if (data.thumb) {
|
||||||
topicData.thumb = data.thumb;
|
topicData.thumb = data.thumb;
|
||||||
|
|||||||
Reference in New Issue
Block a user