mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Update protocol timestamp on put_file
SCI-551 #close
This commit is contained in:
parent
62356c36a1
commit
b52e596209
1 changed files with 2 additions and 0 deletions
|
@ -207,6 +207,8 @@ class WopiController < ActionController::Base
|
|||
@organization.take_space(@asset.estimated_size)
|
||||
@organization.save
|
||||
|
||||
@protocol.update(updated_at: Time.now) if @protocol
|
||||
|
||||
response.headers['X-WOPI-ItemVersion'] = @asset.version
|
||||
render nothing: :true, status: 200 and return
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue