debian-mirror-gitlab/app/graphql/mutations/container_repositories/destroy_base.rb
2022-07-16 19:58:13 +02:00

15 lines
279 B
Ruby

# frozen_string_literal: true
module Mutations
module ContainerRepositories
class DestroyBase < Mutations::BaseMutation
include ::Mutations::PackageEventable
private
def find_object(id:)
GitlabSchema.find_by_gid(id)
end
end
end
end