Skip to content

Commit 636122d

Browse files
committed
fix outlawed boosts
1 parent a3c5a33 commit 636122d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/resolvers/item.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export async function getAd (parent, { sub, subArr = [], showNsfw = false }, { m
129129
'"Item"."parentId" IS NULL',
130130
'"Item".bio = false',
131131
'"Item".boost > 0',
132+
await filterClause(me, models),
132133
activeOrMine(),
133134
subClause(sub, 1, 'Item', me, showNsfw),
134135
muteClause(me))}

0 commit comments

Comments
 (0)