Skip to content

Commit 05bd438

Browse files
committed
Fix: bug receive actual data version version 0.6.6
1 parent 285846b commit 05bd438

7 files changed

+7
-7
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-api",
3-
"version": "0.6.5",
3+
"version": "0.6.6",
44
"main": "dist/redux-api.min.js",
55
"dependencies": {}
66
}

dist/redux-api.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/redux-api.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/redux-api.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/redux-api.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-api",
3-
"version": "0.6.5",
3+
"version": "0.6.6",
44
"author": {
55
"name": "Efremov Alex",
66
"email": "lexich121@gmail.com",

src/actionFn.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default function actionFn(url, name, options, ACTIONS={}, meta={}) {
7575
.then((data)=> {
7676
dispatch({ type: actionSuccess, syncing: false, data });
7777
each(meta.broadcast, (btype)=> dispatch({type: btype, data}));
78-
pubsub.resolve(store);
78+
pubsub.resolve(getState()[name]);
7979
})
8080
.catch((error)=> {
8181
dispatch({ type: actionFail, syncing: false, error });

0 commit comments

Comments
 (0)