diff options
Diffstat (limited to 'app/services/issues/clone_service.rb')
-rw-r--r-- | app/services/issues/clone_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/issues/clone_service.rb b/app/services/issues/clone_service.rb index b64e4687a87..6df32f1104c 100644 --- a/app/services/issues/clone_service.rb +++ b/app/services/issues/clone_service.rb @@ -57,7 +57,7 @@ module Issues # Skip creation of system notes for existing attributes of the issue. The system notes of the old # issue are copied over so we don't want to end up with duplicate notes. - CreateService.new(target_project, current_user, new_params).execute(skip_system_notes: true) + CreateService.new(project: target_project, current_user: current_user, params: new_params).execute(skip_system_notes: true) end def queue_copy_designs @@ -90,4 +90,4 @@ module Issues end end -Issues::CloneService.prepend_if_ee('EE::Issues::CloneService') +Issues::CloneService.prepend_mod_with('Issues::CloneService') |