From 4ba01d18d6caac7c693c78cf65ba4f11641c85a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 28 Jan 2025 19:59:12 -0500 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=A4=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/topics/sorted.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/topics/sorted.js b/src/topics/sorted.js index f423bd1c2a..07a6215218 100644 --- a/src/topics/sorted.js +++ b/src/topics/sorted.js @@ -243,8 +243,7 @@ module.exports = function (Topics) { } async function filterTids(tids, params) { - const { filter } = params; - const { uid } = params; + const { filter, uid } = params; if (filter === 'new') { tids = await Topics.filterNewTids(tids, uid);