fix: remove 0 fields

This commit is contained in:
Barış Soner Uşaklı
2019-10-07 23:43:08 -04:00
parent 75bcb0f484
commit ac4a500402

View File

@@ -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;