Skip to content

Commit

Permalink
FSA compatibility issue (#101)
Browse files Browse the repository at this point in the history
Fixed isRequestAction for Axios driver case
  • Loading branch information
qizmaster authored and klis87 committed Apr 5, 2018
1 parent 67eb59f commit 481c680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/redux-saga-requests/src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const getActionPayload = action =>

export const isRequestAction = action => {
const actionPayload = getActionPayload(action);
return !!actionPayload.request;
return !!actionPayload.request && !actionPayload.response;
};

export const mapRequest = (request, callback) =>
Expand Down

0 comments on commit 481c680

Please sign in to comment.