summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/packages/destroy_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/packages/destroy_file.rb')
-rw-r--r--app/graphql/mutations/packages/destroy_file.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/graphql/mutations/packages/destroy_file.rb b/app/graphql/mutations/packages/destroy_file.rb
index 4aa33b3504c..f2a8f2b853a 100644
--- a/app/graphql/mutations/packages/destroy_file.rb
+++ b/app/graphql/mutations/packages/destroy_file.rb
@@ -25,9 +25,6 @@ module Mutations
private
def find_object(id:)
- # TODO: remove this line when the compatibility layer is removed
- # See: https://gitlab.com/gitlab-org/gitlab/-/issues/257883
- id = ::Types::GlobalIDType[::Packages::PackageFile].coerce_isolated_input(id)
GitlabSchema.find_by_gid(id)
end
end