Skip to content

Commit

Permalink
Merge branch 'main' into AS-963-update-postupdate-worker
Browse files Browse the repository at this point in the history
  • Loading branch information
capJavert authored Feb 6, 2025
2 parents 895f2d3 + 378313f commit 9aa8a7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ export const getAllModerationItemsAsAdmin = async (
.where('sm.role IN (:...roles)', {
roles: [SourceMemberRoles.Admin, SourceMemberRoles.Moderator],
})
.andWhere(`("${builder.alias}"."flags"->>'vordr')::boolean IS NOT TRUE`)
.andWhere(`"${builder.alias}"."sourceId" = "sm"."sourceId"`)
.orderBy(`${builder.alias}.updatedAt`, 'DESC')
.limit(page.limit)
Expand Down

0 comments on commit 9aa8a7e

Please sign in to comment.