diff options
Diffstat (limited to 'app/services/design_management/copy_design_collection')
-rw-r--r-- | app/services/design_management/copy_design_collection/copy_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/design_management/copy_design_collection/copy_service.rb b/app/services/design_management/copy_design_collection/copy_service.rb index 5e557e9ea53..886077191ab 100644 --- a/app/services/design_management/copy_design_collection/copy_service.rb +++ b/app/services/design_management/copy_design_collection/copy_service.rb @@ -16,7 +16,7 @@ module DesignManagement @temporary_branch = "CopyDesignCollectionService_#{SecureRandom.hex}" # The user who triggered the copy may not have permissions to push # to the design repository. - @git_user = @target_project.default_owner + @git_user = @target_project.first_owner @designs = DesignManagement::Design.unscoped.where(issue: issue).order(:id).load @versions = DesignManagement::Version.unscoped.where(issue: issue).order(:id).includes(:designs).load |