Skip to content

Commit 64e044f

Browse files
committed
fix: lint
1 parent 26c3abd commit 64e044f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/ai-workflow/ai-workflow.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ export class AiWorkflowService {
413413
);
414414

415415
if (!isInAllowedPhase) {
416-
if (challenge.status !== 'COMPLETED') {
416+
if (challenge.status !== ChallengeStatus.COMPLETED) {
417417
throw new InternalServerErrorException(
418418
`Challenge ${submission.challengeId} is not in an allowed phase and is not completed.`,
419419
);

0 commit comments

Comments
 (0)