update TransferService update actions

This commit is contained in:
kingChan
2024-06-27 15:01:48 +08:00
parent 499473c296
commit 290f5cc161

View File

@@ -35,7 +35,7 @@ class Projects::TransferService < ApplicationService
def update_actions
begin
action_params = { has_actions: false }
Gitea::Repository::UpdateService.call(owner&.login, project.identifier, action_params)
Gitea::Repository::UpdateService.call(owner, project.identifier, action_params)
project.update action_params
rescue Exception => e
Rails.logger.info("##### Project transfer_service, gitea transfer error #{e}")