Skip to content

Commit

Permalink
Fixed bug in query
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Jun 6, 2024
1 parent d739559 commit 51abcbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/controllers/utils/modelHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ export const getProjectStats = async (
INNER JOIN ATTESTOR_ORGANISATION AS AT_OG ON PR_AT.ATTESTOR_ORGANISATION_ID = AT_OG.ID
INNER JOIN ORGANISATION AS OG ON AT_OG.ORGANISATION_ID = OG.ID
WHERE
PR_AT.REVOKED = FALSE
AND AT_OG.REVOKED = FALSE
AND PR_AT.PROJECT_ID = $1
PR_AT.PROJECT_ID = $1
),
PR_ORG AS (
SELECT
Expand Down

0 comments on commit 51abcbb

Please sign in to comment.