Node.js based forum software built for the modern web
test: remove escape
Barış Soner Uşaklı6c25b9dbaa97
diff --git a/src/topics/thumbs.js b/src/topics/thumbs.jsindex cd0a93f3cd..48520d4f81 100644--- a/src/topics/thumbs.js+++ b/src/topics/thumbs.js@@ -64,8 +64,7 @@ async function getThumbs(set) {if (cached !== undefined) {return cached.slice();}- let thumbs = await db.getSortedSetRange(set, 0, -1);- thumbs = thumbs.map(t => validator.escape(String(t)));+ const thumbs = await db.getSortedSetRange(set, 0, -1);cache.set(set, thumbs);return thumbs.slice();}