Skip to content

Commit 2e48fe6

Browse files
committed
fix(interceptors): removed action in favor of getSourceAction
1 parent d9dba80 commit 2e48fe6

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
@@ -43,7 +43,7 @@ export const multiClientMiddleware = (clients, customMiddlewareOptions) => {
4343
if (clientOptions.interceptors) {
4444
const middlewareInterceptors = middlewareOptions.interceptors;
4545
const clientInterceptors = clients[clientName].options && clients[clientName].options.interceptors;
46-
const injectToInterceptor = { getState, dispatch, action, getSourceAction };
46+
const injectToInterceptor = { getState, dispatch, getSourceAction };
4747
bindInterceptors(clients[clientName].client, injectToInterceptor, middlewareInterceptors, clientInterceptors);
4848
}
4949

0 commit comments

Comments
 (0)