Skip to content

Commit 9d35603

Browse files
authored
https://github.com/agraboso/redux-api-middleware/pull/26
1 parent e72ac27 commit 9d35603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function apiMiddleware({ getState }) {
105105
// The request was malformed, or there was a network error
106106
return next(await actionWith(
107107
{
108-
...requestType,
108+
...failureType,
109109
payload: new RequestError(e.message),
110110
error: true
111111
},

0 commit comments

Comments
 (0)