diff --git a/.circleci/config.yml b/.circleci/config.yml index d2a8e8d..914aad3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,6 +74,7 @@ workflows: branches: only: - develop + - pm-2660 - 'build-prod': diff --git a/src/api/appeal/appeal.service.ts b/src/api/appeal/appeal.service.ts index 8f50b66..b3d09d9 100644 --- a/src/api/appeal/appeal.service.ts +++ b/src/api/appeal/appeal.service.ts @@ -267,6 +267,11 @@ export class AppealService { ); } + // Check if the appeal phase is open while updating appeals + if (!isPrivileged && challengeId) { + await this.challengeApiService.validateAppealSubmission(challengeId); + } + if (!isPrivileged) { await this.ensureChallengeAllowsAppealChange(challengeId, { logContext: 'updateAppeal',