Skip to content

Commit

Permalink
chore(docs): Add missing comma in effects readme example (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
igghera authored and brandonroberts committed Jan 29, 2018
1 parent 99a4980 commit afaabd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/effects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class AuthEffects {
mergeMap(action =>
this.http.post('/auth', action.payload).pipe(
// If successful, dispatch success action with result
map(data => ({ type: 'LOGIN_SUCCESS', payload: data }))
map(data => ({ type: 'LOGIN_SUCCESS', payload: data })),
// If request fails, dispatch failed action
catchError(() => of({ type: 'LOGIN_FAILED' }))
)
Expand Down

0 comments on commit afaabd7

Please sign in to comment.