Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Diagnostics bugFix (#1065)
Browse files Browse the repository at this point in the history
* flatMap

* Dummy comment to retrigger build
  • Loading branch information
isaac-dasan authored and ppathan committed Aug 16, 2018
1 parent 27eb27e commit a7390d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/reducers/appReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export const epics = createEpicScenario({
if (diagnosticsOptIn) {
return DiagnosticsService.logEvent(payload)
/* We don't want anymore action to be executed after this call
and hence return empty observable */
.map(_ => Observable.empty())
and hence return empty observable in flatMap */
.flatMap(_ => Observable.empty())
.catch(_ => Observable.empty())
} else {
return Observable.empty()
Expand Down

0 comments on commit a7390d8

Please sign in to comment.