summaryrefslogtreecommitdiff
path: root/app/graphql/types/work_items/convert_task_input_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/work_items/convert_task_input_type.rb')
-rw-r--r--app/graphql/types/work_items/convert_task_input_type.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/graphql/types/work_items/convert_task_input_type.rb b/app/graphql/types/work_items/convert_task_input_type.rb
index 1f142c6815c..2e66c1c1b3f 100644
--- a/app/graphql/types/work_items/convert_task_input_type.rb
+++ b/app/graphql/types/work_items/convert_task_input_type.rb
@@ -24,10 +24,6 @@ module Types
class << self
def work_item_type_global_id(global_id)
- # TODO: remove this line when the compatibility layer is removed
- # See: https://gitlab.com/gitlab-org/gitlab/-/issues/257883
- global_id = ::Types::GlobalIDType[::WorkItems::Type].coerce_isolated_input(global_id)
-
global_id&.model_id
end
end