@hubs101/js-api-skd-client 1.0.10460 → 1.0.10461
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/lib/utils/api.js +1 -0
- package/package.json +1 -1
package/lib/utils/api.js
CHANGED
|
@@ -107,6 +107,7 @@ const deleteRequest = (url, body, token, headers) => __awaiter(void 0, void 0, v
|
|
|
107
107
|
const response = yield fetch(url, {
|
|
108
108
|
method: "DELETE",
|
|
109
109
|
headers: Object.assign({ Authorization: `Bearer ${token}` }, headers),
|
|
110
|
+
body: form,
|
|
110
111
|
});
|
|
111
112
|
const data = yield response.json();
|
|
112
113
|
if (String(data.status).startsWith("4")) {
|