mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 01:03:18 +08:00
Fix saving last_modified_by for WOPI audit trails [SCI-10033]
This commit is contained in:
parent
82d9996f22
commit
e35878a9b8
1 changed files with 1 additions and 1 deletions
|
@ -201,8 +201,8 @@ class WopiController < ActionController::Base
|
|||
logger.warn 'WOPI: replacing file'
|
||||
|
||||
@team.release_space(@asset.estimated_size)
|
||||
@asset.update_contents(request.body)
|
||||
@asset.last_modified_by = @user
|
||||
@asset.update_contents(request.body)
|
||||
@asset.save
|
||||
|
||||
@team.take_space(@asset.estimated_size)
|
||||
|
|
Loading…
Reference in a new issue