@yuuvis/client-core 3.2.0 → 3.2.1
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.
|
@@ -5470,7 +5470,7 @@ class ObjectLockingService {
|
|
|
5470
5470
|
*/
|
|
5471
5471
|
lock(id) {
|
|
5472
5472
|
const { lockTag, state, override, includeObjects } = DEFAULT_LOCK_OPTIONS;
|
|
5473
|
-
return this.#backend.post(`/
|
|
5473
|
+
return this.#backend.post(`/dms/objects/${id}/tags/${lockTag}/state/${state}?overwrite=${override}&includeObjects=${includeObjects}`, undefined, ApiBase.core);
|
|
5474
5474
|
}
|
|
5475
5475
|
/**
|
|
5476
5476
|
* Remove the lock tag from a DMS object.
|
|
@@ -5479,7 +5479,7 @@ class ObjectLockingService {
|
|
|
5479
5479
|
* @returns Observable that completes once the tag has been deleted
|
|
5480
5480
|
*/
|
|
5481
5481
|
unlock(id, lockTag = LockField.LOCK_TAG) {
|
|
5482
|
-
return this.#backend.delete(`/
|
|
5482
|
+
return this.#backend.delete(`/dms/objects/${id}/tags/${lockTag}`, ApiBase.core);
|
|
5483
5483
|
}
|
|
5484
5484
|
/**
|
|
5485
5485
|
* Inspect the lock state of a DMS object relative to the current user.
|