jclib-ui 1.0.239 → 1.0.240
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/jclib-ui.es.js
CHANGED
|
@@ -7963,7 +7963,8 @@ function useApi(initialConfig = {}) {
|
|
|
7963
7963
|
code: (_d = err.response.data) == null ? void 0 : _d.code
|
|
7964
7964
|
};
|
|
7965
7965
|
switch (err.response.status) {
|
|
7966
|
-
case 400:
|
|
7966
|
+
case 400:
|
|
7967
|
+
case 500: {
|
|
7967
7968
|
if ((finalConfig == null ? void 0 : finalConfig.responseType) == "blob") {
|
|
7968
7969
|
let data = await err.response.data.text();
|
|
7969
7970
|
data = JSON.parse(data);
|