Skip to content

Commit c003e03

Browse files
committed
Minor tweak for review status checking.
1 parent 3f96faa commit c003e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3162,7 +3162,7 @@ async function ensureScorecardChangeDoesNotConflict({
31623162
SELECT "phaseId", "scorecardId", COUNT(*)::int AS "count"
31633163
FROM ${reviewTableIdentifier}
31643164
WHERE "phaseId" IN (${Prisma.join(challengePhaseIdList)})
3165-
AND "status" IN (${Prisma.join(REVIEW_STATUS_BLOCKING)})
3165+
AND "status"::text IN (${Prisma.join(REVIEW_STATUS_BLOCKING)})
31663166
GROUP BY "phaseId", "scorecardId"
31673167
`;
31683168
} catch (error) {

0 commit comments

Comments
 (0)