Skip to content

Commit

Permalink
fix: display 25 topics on category feed
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Feb 27, 2023
1 parent ec58700 commit 7915510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/feeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async function generateForCategory(req, res, next) {
db.getSortedSetRevIntersect({
sets: ['topics:tid', `cid:${cid}:tids:lastposttime`],
start: 0,
stop: 25,
stop: 24,
weights: [1, 0],
}),
]);
Expand Down

0 comments on commit 7915510

Please sign in to comment.