mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Fix UnlockUnlockedFile action
The time was nigh!
This commit is contained in:
parent
674326e761
commit
3600fbfe64
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class WopiController < ActionController::Base
|
|||
end
|
||||
else
|
||||
logger.warn "Tried to unlock non-locked file"
|
||||
response.headers["X-WOPI-Lock"] = ""
|
||||
response.headers["X-WOPI-Lock"] = " "
|
||||
render :nothing => true, :status => 409 and return
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue