diff --git a/src/app/features/competitions/edit/store/competition-edit.effects.ts b/src/app/features/competitions/edit/store/competition-edit.effects.ts index ee966c88..cb4345b0 100644 --- a/src/app/features/competitions/edit/store/competition-edit.effects.ts +++ b/src/app/features/competitions/edit/store/competition-edit.effects.ts @@ -101,7 +101,10 @@ export class CompetitionEditEffects { .pipe( map((r) => new QuestionCreated({ ...r, - question: action.question + question: { + _id: r.question as any, + ...action.question + } })), catchError(() => of(new CreateQuestionError())) );