roboto-js 1.6.8 → 1.6.9
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/cjs/rbt_object.cjs +2 -1
- package/dist/esm/rbt_object.js +2 -1
- package/package.json +1 -1
- package/src/rbt_object.js +1 -1
package/dist/cjs/rbt_object.cjs
CHANGED
|
@@ -405,7 +405,8 @@ var RbtObject = exports["default"] = /*#__PURE__*/function () {
|
|
|
405
405
|
record = this.toRecord();
|
|
406
406
|
_context4.next = 6;
|
|
407
407
|
return this._axios.post('/object_service/deleteObject', {
|
|
408
|
-
id: record.id
|
|
408
|
+
id: record.id,
|
|
409
|
+
type: record.type
|
|
409
410
|
});
|
|
410
411
|
case 6:
|
|
411
412
|
response = _context4.sent;
|
package/dist/esm/rbt_object.js
CHANGED
|
@@ -277,7 +277,8 @@ export default class RbtObject {
|
|
|
277
277
|
try {
|
|
278
278
|
const record = this.toRecord();
|
|
279
279
|
const response = await this._axios.post('/object_service/deleteObject', {
|
|
280
|
-
id: record.id
|
|
280
|
+
id: record.id,
|
|
281
|
+
type: record.type
|
|
281
282
|
});
|
|
282
283
|
if (response.data.ok === false) {
|
|
283
284
|
throw new Error(response.data.message);
|
package/package.json
CHANGED
package/src/rbt_object.js
CHANGED
|
@@ -313,7 +313,7 @@ export default class RbtObject {
|
|
|
313
313
|
|
|
314
314
|
try {
|
|
315
315
|
const record = this.toRecord();
|
|
316
|
-
const response = await this._axios.post('/object_service/deleteObject', { id: record.id });
|
|
316
|
+
const response = await this._axios.post('/object_service/deleteObject', { id: record.id, type: record.type });
|
|
317
317
|
|
|
318
318
|
if (response.data.ok === false) {
|
|
319
319
|
throw new Error(response.data.message);
|