update TransferService update actions
This commit is contained in:
parent
499473c296
commit
290f5cc161
|
@ -35,7 +35,7 @@ class Projects::TransferService < ApplicationService
|
||||||
def update_actions
|
def update_actions
|
||||||
begin
|
begin
|
||||||
action_params = { has_actions: false }
|
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
|
project.update action_params
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
Rails.logger.info("##### Project transfer_service, gitea transfer error #{e}")
|
Rails.logger.info("##### Project transfer_service, gitea transfer error #{e}")
|
||||||
|
|
Loading…
Reference in New Issue