mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] For bug 65773
This commit is contained in:
@ -161,7 +161,7 @@ EditorData.prototype.addLocksNX = async function(ctx, docId, locks) {
|
||||
};
|
||||
EditorData.prototype.removeLocks = async function(ctx, docId, locks) {
|
||||
let data = this._getDocumentData(ctx, docId);
|
||||
if (!data.locks) {
|
||||
if (data.locks) {
|
||||
for (let lockId in locks) {
|
||||
delete data.locks[lockId];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user