diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-27 00:11:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-27 00:11:25 +0300 |
commit | 9f6c0ac9fd6921bc0b5190ed4d4eaf0ab1e1f2d7 (patch) | |
tree | 92f397ea19f1fec56491c99ce3b7862bb86fe8ce /app/services/issuable | |
parent | a56971e97f0385640c2f3568017bd221897b78ef (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/issuable')
-rw-r--r-- | app/services/issuable/bulk_update_service.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/services/issuable/bulk_update_service.rb b/app/services/issuable/bulk_update_service.rb index cd32cd78728..155f3c37aa3 100644 --- a/app/services/issuable/bulk_update_service.rb +++ b/app/services/issuable/bulk_update_service.rb @@ -57,7 +57,11 @@ module Issuable items.each do |issuable| next unless can?(current_user, :"update_#{type}", issuable) - update_class.new(**update_class.constructor_container_arg(issuable.issuing_parent), current_user: current_user, params: params).execute(issuable) + update_class.new( + **update_class.constructor_container_arg(issuable.issuing_parent), + current_user: current_user, + params: params.dup + ).execute(issuable) end items |