@ghentcdh/json-forms-vue 1.0.1 → 1.0.3
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/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -354,7 +354,7 @@ const createRepository = (formSchemaModel, httpRequest, options = {}) => {
|
|
|
354
354
|
return httpRequest.get(getDataUri(id), options2).then((response) => {
|
|
355
355
|
return response.data;
|
|
356
356
|
}).catch((response) => {
|
|
357
|
-
handleError(response,
|
|
357
|
+
handleError(response, "Failed to load data");
|
|
358
358
|
});
|
|
359
359
|
};
|
|
360
360
|
const _delete = (id, options2) => {
|
package/index.mjs
CHANGED
|
@@ -352,7 +352,7 @@ const createRepository = (formSchemaModel, httpRequest, options = {}) => {
|
|
|
352
352
|
return httpRequest.get(getDataUri(id), options2).then((response) => {
|
|
353
353
|
return response.data;
|
|
354
354
|
}).catch((response) => {
|
|
355
|
-
handleError(response,
|
|
355
|
+
handleError(response, "Failed to load data");
|
|
356
356
|
});
|
|
357
357
|
};
|
|
358
358
|
const _delete = (id, options2) => {
|