mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
fix: lint
This commit is contained in:
@@ -361,7 +361,6 @@ Helpers.generateCollection = async ({ set, method, page, perPage, url }) => {
|
||||
method = db.getSortedSetRange;
|
||||
}
|
||||
const count = await db.sortedSetCard(set);
|
||||
// const { cid, titleRaw: name, mainPid, slug, postcount: count } = await topics.getTopicFields(req.params.tid, ['cid', 'title', 'mainPid', 'slug', 'postcount']);
|
||||
const pageCount = Math.max(1, Math.ceil(count / perPage));
|
||||
let items;
|
||||
let paginate = true;
|
||||
|
||||
Reference in New Issue
Block a user