client/src/createOptDis.ts in jason-rails-0.7.5.1 vs client/src/createOptDis.ts in jason-rails-0.8.0
- old
+ new
@@ -27,11 +27,9 @@
restClient.post('/jason/api/action', action)
.then(({ data }) => serverActionQueue.itemProcessed(id, data))
.catch(error => {
dispatch({ type: 'jason/upsert', payload: { error } })
serverActionQueue.itemFailed(id, error)
-
- Promise.reject(error)
})
}
setInterval(dispatchServerAction, 10)
\ No newline at end of file