summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/clusters/agent_tokens/revoke.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/clusters/agent_tokens/revoke.rb')
-rw-r--r--app/graphql/mutations/clusters/agent_tokens/revoke.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/graphql/mutations/clusters/agent_tokens/revoke.rb b/app/graphql/mutations/clusters/agent_tokens/revoke.rb
index 6e988799921..c4187746464 100644
--- a/app/graphql/mutations/clusters/agent_tokens/revoke.rb
+++ b/app/graphql/mutations/clusters/agent_tokens/revoke.rb
@@ -21,12 +21,6 @@ module Mutations
{ errors: errors_on_object(token) }
end
-
- private
-
- def find_object(id:)
- GitlabSchema.find_by_gid(id)
- end
end
end
end