Node.js based forum software built for the modern web
fix: switch back to getSortedSetRange
Julian Lam8686fbfa3f4e
diff --git a/src/topics/thumbs.js b/src/topics/thumbs.jsindex 8bc6789ba0..48520d4f81 100644--- a/src/topics/thumbs.js+++ b/src/topics/thumbs.js@@ -64,7 +64,7 @@ async function getThumbs(set) {if (cached !== undefined) {return cached.slice();}- const thumbs = await db.getSortedSetRangeByScore(set, 0, -1, '-inf', '+inf');+ const thumbs = await db.getSortedSetRange(set, 0, -1);cache.set(set, thumbs);return thumbs.slice();}