Skip to content

Commit

Permalink
remove saloon from top posts
Browse files Browse the repository at this point in the history
  • Loading branch information
huumn committed Jul 21, 2024
1 parent e517abb commit de38a68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/resolvers/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ export default {
${relationClause(type)}
${whereClause(
'"Item"."deletedAt" IS NULL',
type === 'posts' && '"Item"."subName" IS NOT NULL',
subClause(sub, 5, subClauseTable(type), me, showNsfw),
typeClause(type),
whenClause(when, 'Item'),
Expand Down

0 comments on commit de38a68

Please sign in to comment.