react-parse
Advanced tools
@@ -40,4 +40,4 @@ (function (global, factory) { | ||
| } | ||
| if (action.onSuccess) { | ||
| action.onSuccess({ type: type, action: action, status: status, res: res }); | ||
| if (action.payload.onSuccess) { | ||
| action.payload.onSuccess({ type: type, action: action, status: status, res: res }); | ||
| } | ||
@@ -49,3 +49,3 @@ }; | ||
| } | ||
| if (action.onSuccess) { | ||
| if (action.payload.onError) { | ||
| action.onError({ type: type, action: action, status: status, res: res }); | ||
@@ -52,0 +52,0 @@ } |
+1
-1
| { | ||
| "name": "react-parse", | ||
| "version": "1.9.0", | ||
| "version": "1.9.1", | ||
| "description": "react components with redux and saga ready to use for easy and fast fetch data from and parse server", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
1241019
0