From 40775dd837588b9db9fbc8f586c15255809e0988 Mon Sep 17 00:00:00 2001 From: Soxasora Date: Sun, 24 Nov 2024 23:47:33 +0100 Subject: [PATCH] fix: top boosts shows others' unpaid boosts --- api/resolvers/item.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/resolvers/item.js b/api/resolvers/item.js index 97c48d52c..69d778905 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -423,6 +423,7 @@ export default { subClause(sub, 5, subClauseTable(type), me, showNsfw), typeClause(type), whenClause(when, 'Item'), + activeOrMine(me), await filterClause(me, models, type), by === 'boost' && '"Item".boost > 0', muteClause(me))}