Skip to content

Commit

Permalink
Fox add question save error
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonRbg committed Mar 19, 2019
1 parent 556fd72 commit 64d8174
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
);
Expand Down

0 comments on commit 64d8174

Please sign in to comment.