Skip to content

Commit cc1fab7

Browse files
authored
Merge pull request #70 from topcoder-platform/PLAT-3739
fix: pass challenge Id to create function
2 parents 9eacfed + 9d7a9a8 commit cc1fab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/domain/Challenge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class ChallengeDomain extends CoreOperations<Challenge, CreateChallengeInput> {
350350
};
351351

352352
// prettier-ignore
353-
const { legacy, legacyChallengeId, phases } = await this.createLegacyChallenge(createChallengeInput, input.status, challenge!.trackId, challenge!.typeId, challenge!.tags, metadata);
353+
const { legacy, legacyChallengeId, phases } = await this.createLegacyChallenge(createChallengeInput, input.status, challenge!.trackId, challenge!.typeId, challenge!.tags, metadata, challenge.id);
354354

355355
input.legacy = legacy;
356356
input.phaseUpdate = { phases };

0 commit comments

Comments
 (0)