diff options
Diffstat (limited to 'app/graphql/mutations/work_items/update_task.rb')
-rw-r--r-- | app/graphql/mutations/work_items/update_task.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/graphql/mutations/work_items/update_task.rb b/app/graphql/mutations/work_items/update_task.rb index 35fbe672b66..aeb4f1d0f06 100644 --- a/app/graphql/mutations/work_items/update_task.rb +++ b/app/graphql/mutations/work_items/update_task.rb @@ -4,8 +4,7 @@ module Mutations module WorkItems class UpdateTask < BaseMutation graphql_name 'WorkItemUpdateTask' - description "Updates a work item's task by Global ID." \ - " Available only when feature flag `work_items` is enabled." + description "Updates a work item's task by Global ID." include Mutations::SpamProtection @@ -30,10 +29,6 @@ module Mutations work_item = authorized_find!(id: id) task = authorized_find_task!(task_data_hash[:id]) - unless work_item.project.work_items_feature_flag_enabled? - return { errors: ['`work_items` feature flag disabled for this project'] } - end - spam_params = ::Spam::SpamParams.new_from_request(request: context[:request]) ::WorkItems::UpdateService.new( |