{"action":"created","issue":{"url":"https://api.github.com/repos/lexich/redux-api/issues/181","repository_url":"https://api.github.com/repos/lexich/redux-api","labels_url":"https://api.github.com/repos/lexich/redux-api/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/lexich/redux-api/issues/181/comments","events_url":"https://api.github.com/repos/lexich/redux-api/issues/181/events","html_url":"https://github.com/lexich/redux-api/issues/181","id":267916394,"number":181,"title":"How can I use dispatch in responseHandler?","user":{"login":"pohodnya","id":10988731,"avatar_url":"https://avatars0.githubusercontent.com/u/10988731?v=4","gravatar_id":"","url":"https://api.github.com/users/pohodnya","html_url":"https://github.com/pohodnya","followers_url":"https://api.github.com/users/pohodnya/followers","following_url":"https://api.github.com/users/pohodnya/following{/other_user}","gists_url":"https://api.github.com/users/pohodnya/gists{/gist_id}","starred_url":"https://api.github.com/users/pohodnya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pohodnya/subscriptions","organizations_url":"https://api.github.com/users/pohodnya/orgs","repos_url":"https://api.github.com/users/pohodnya/repos","events_url":"https://api.github.com/users/pohodnya/events{/privacy}","received_events_url":"https://api.github.com/users/pohodnya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T06:50:14Z","updated_at":"2017-10-24T07:06:04Z","closed_at":null,"author_association":"NONE","body":"```javascript\r\napi.use(\"responseHandler\", (err, data) => {\r\n  if (err) {\r\n    dispatch(connectionErrorActions.show());\r\n  } else {\r\n    return data;\r\n  }\r\n});\r\n```\r\n\r\nCan you add `getState` and `dispatch` as params to callback?"},"comment":{"url":"https://api.github.com/repos/lexich/redux-api/issues/comments/338894635","html_url":"https://github.com/lexich/redux-api/issues/181#issuecomment-338894635","issue_url":"https://api.github.com/repos/lexich/redux-api/issues/181","id":338894635,"user":{"login":"lexich","id":859946,"avatar_url":"https://avatars2.githubusercontent.com/u/859946?v=4","gravatar_id":"","url":"https://api.github.com/users/lexich","html_url":"https://github.com/lexich","followers_url":"https://api.github.com/users/lexich/followers","following_url":"https://api.github.com/users/lexich/following{/other_user}","gists_url":"https://api.github.com/users/lexich/gists{/gist_id}","starred_url":"https://api.github.com/users/lexich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexich/subscriptions","organizations_url":"https://api.github.com/users/lexich/orgs","repos_url":"https://api.github.com/users/lexich/repos","events_url":"https://api.github.com/users/lexich/events{/privacy}","received_events_url":"https://api.github.com/users/lexich/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T07:06:04Z","updated_at":"2017-10-24T07:06:04Z","author_association":"OWNER","body":"Hi @pohodnya check this issue https://github.com/lexich/redux-api/issues/172"}}
{"actor":{"display_login":"lexich"}}