We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c3abd commit 64e044fCopy full SHA for 64e044f
src/api/ai-workflow/ai-workflow.service.ts
@@ -413,7 +413,7 @@ export class AiWorkflowService {
413
);
414
415
if (!isInAllowedPhase) {
416
- if (challenge.status !== 'COMPLETED') {
+ if (challenge.status !== ChallengeStatus.COMPLETED) {
417
throw new InternalServerErrorException(
418
`Challenge ${submission.challengeId} is not in an allowed phase and is not completed.`,
419
0 commit comments