Skip to content

Commit 3a1b710

Browse files
author
James Cori
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 0c2461e + 1815fdc commit 3a1b710

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
@@ -1301,7 +1301,7 @@ async function update (currentUser, challengeId, data, isFull) {
13011301
}
13021302
}
13031303
if (data.status === constants.challengeStatuses.Completed) {
1304-
if (challenge.status !== constants.challengeStatuses.Active) {
1304+
if (!_.get(challenge, 'legacy.pureV5Task') && challenge.status !== constants.challengeStatuses.Active) {
13051305
throw new errors.BadRequestError('You cannot mark a Draft challenge as Completed')
13061306
}
13071307
}

0 commit comments

Comments
 (0)