Welcome to mirror list, hosted at ThFree Co, Russian Federation.

destroy_base.rb « container_repositories « mutations « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c2c4d87a5f16d6f102dc8609dd6e54572834fb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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