diff --git a/src/topics/thumbs.js b/src/topics/thumbs.js index 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(); }