diff --git a/app/controllers/asset_sync_controller.rb b/app/controllers/asset_sync_controller.rb index 59a26a8f9..d5e605943 100644 --- a/app/controllers/asset_sync_controller.rb +++ b/app/controllers/asset_sync_controller.rb @@ -126,7 +126,7 @@ class AssetSyncController < ApplicationController Activities::CreateActivityService .call(activity_type: type_of, - owner: User.first, + owner: current_user, subject: step.protocol, team: step.protocol.team, project: project,