debian-mirror-gitlab/app/graphql/mutations/todos/base.rb

14 lines
213 B
Ruby
Raw Normal View History

2019-12-26 22:10:19 +05:30
# frozen_string_literal: true
module Mutations
module Todos
class Base < ::Mutations::BaseMutation
private
def find_object(id:)
2021-01-03 14:25:43 +05:30
GitlabSchema.find_by_gid(id)
2019-12-26 22:10:19 +05:30
end
end
end
end