fix outlawed boosts

This commit is contained in:
k00b 2025-08-20 07:40:57 -05:00
parent a3c5a33bc4
commit 636122dd51

View File

@ -129,6 +129,7 @@ export async function getAd (parent, { sub, subArr = [], showNsfw = false }, { m
'"Item"."parentId" IS NULL', '"Item"."parentId" IS NULL',
'"Item".bio = false', '"Item".bio = false',
'"Item".boost > 0', '"Item".boost > 0',
await filterClause(me, models),
activeOrMine(), activeOrMine(),
subClause(sub, 1, 'Item', me, showNsfw), subClause(sub, 1, 'Item', me, showNsfw),
muteClause(me))} muteClause(me))}