From 481c6806e272f23d5cd37ab6d12c59f8fd2a8574 Mon Sep 17 00:00:00 2001 From: qizmaster Date: Thu, 5 Apr 2018 19:03:23 +0300 Subject: [PATCH] FSA compatibility issue (#101) Fixed isRequestAction for Axios driver case --- packages/redux-saga-requests/src/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/redux-saga-requests/src/helpers.js b/packages/redux-saga-requests/src/helpers.js index 64d1c2f6f..069c2b8fe 100644 --- a/packages/redux-saga-requests/src/helpers.js +++ b/packages/redux-saga-requests/src/helpers.js @@ -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) =>