v1.18.x
Barış Soner Uşaklı 6 years ago
parent 70a87d4399
commit b9833483ca

@ -51,7 +51,7 @@ module.exports = function (Topics) {
if (!topicData.length) {
return next(null, unreadTopics);
}
Topics.calculateTopicIndices(topicData, params.start);
unreadTopics.topics = topicData;
unreadTopics.nextStart = params.stop + 1;
next(null, unreadTopics);

Loading…
Cancel
Save