Fix saving last_modified_by for WOPI audit trails [SCI-10033]

This commit is contained in:
Ivan Kljun 2024-02-15 14:14:38 +01:00
parent 82d9996f22
commit e35878a9b8

View file

@ -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)