diff --git a/src/domain/Challenge.ts b/src/domain/Challenge.ts index 8027777..614cb24 100644 --- a/src/domain/Challenge.ts +++ b/src/domain/Challenge.ts @@ -350,7 +350,7 @@ class ChallengeDomain extends CoreOperations { }; // prettier-ignore - const { legacy, legacyChallengeId, phases } = await this.createLegacyChallenge(createChallengeInput, input.status, challenge!.trackId, challenge!.typeId, challenge!.tags, metadata); + const { legacy, legacyChallengeId, phases } = await this.createLegacyChallenge(createChallengeInput, input.status, challenge!.trackId, challenge!.typeId, challenge!.tags, metadata, challenge.id); input.legacy = legacy; input.phaseUpdate = { phases };