Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
fixes where it says wait
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewxhill committed Oct 5, 2018
1 parent a995145 commit 9fab9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/Sagas/TextileSagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ export function * initializeAppState () {
export function * refreshMessages () {
while (yield take(getType(TextileNodeActions.refreshMessagesRequest))) {
try {
yield call(logNewEvent, 'Refresh messages', 'Checking missed p2p messages')
yield call(TextileNode.refreshMessages)
yield put(TextileNodeActions.refreshMessagesSuccess(Date.now()))
yield call(logNewEvent, 'Refresh messages', 'Checked offline messages')
} catch (error) {
yield call(logNewEvent, 'Refresh messages', error.message, true)
yield put(TextileNodeActions.refreshMessagesFailure(error))
Expand Down

0 comments on commit 9fab9ab

Please sign in to comment.