summaryrefslogtreecommitdiff
path: root/app/graphql/mutations
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-20 15:20:09 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-20 15:20:09 +0000
commitda23c5d563d68bfa5271b216209a7715c7ce3073 (patch)
treeea829aa79f715b98c440d6bf3767328b4fc4f750 /app/graphql/mutations
parent2366f969a4b3a95e052e551cc7283a2db8d5562e (diff)
downloadgitlab-ce-da23c5d563d68bfa5271b216209a7715c7ce3073.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/mutations')
-rw-r--r--app/graphql/mutations/work_items/convert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/mutations/work_items/convert.rb b/app/graphql/mutations/work_items/convert.rb
index e8a2d72bd04..affd5cba4a9 100644
--- a/app/graphql/mutations/work_items/convert.rb
+++ b/app/graphql/mutations/work_items/convert.rb
@@ -24,7 +24,7 @@ module Mutations
def resolve(attributes)
work_item = authorized_find!(id: attributes[:id])
- return { errors: ['Feature flag disabled'] } unless Feature.enabled?(:work_item_conversion, work_item.project)
+ return { errors: ['Feature flag disabled'] } unless Feature.enabled?(:work_items_mvc_2, work_item.project)
work_item_type = find_work_item_type!(attributes[:work_item_type_id])
authorize_work_item_type!(work_item, work_item_type)