fix: lint

This commit is contained in:
Julian Lam
2024-07-05 15:58:47 -04:00
parent af6ae6ee8a
commit b0eec67d78
2 changed files with 2 additions and 3 deletions

View File

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