@yeepay/client-utils 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -190,9 +190,9 @@ function serviceFactory(options, ...callbacks) {
|
|
|
190
190
|
else if (status === 404)
|
|
191
191
|
notfoundCallback(error);
|
|
192
192
|
else
|
|
193
|
-
failCallback(error
|
|
193
|
+
failCallback(error);
|
|
194
194
|
} else {
|
|
195
|
-
failCallback(error
|
|
195
|
+
failCallback(error);
|
|
196
196
|
}
|
|
197
197
|
return Promise.reject(error);
|
|
198
198
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -150,9 +150,9 @@ function serviceFactory(options, ...callbacks) {
|
|
|
150
150
|
else if (status === 404)
|
|
151
151
|
notfoundCallback(error);
|
|
152
152
|
else
|
|
153
|
-
failCallback(error
|
|
153
|
+
failCallback(error);
|
|
154
154
|
} else {
|
|
155
|
-
failCallback(error
|
|
155
|
+
failCallback(error);
|
|
156
156
|
}
|
|
157
157
|
return Promise.reject(error);
|
|
158
158
|
}
|