summaryrefslogtreecommitdiff
path: root/app/graphql/types/alert_management/prometheus_integration_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/alert_management/prometheus_integration_type.rb')
-rw-r--r--app/graphql/types/alert_management/prometheus_integration_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/types/alert_management/prometheus_integration_type.rb b/app/graphql/types/alert_management/prometheus_integration_type.rb
index 27e4832d8f6..9a2ef78eca7 100644
--- a/app/graphql/types/alert_management/prometheus_integration_type.rb
+++ b/app/graphql/types/alert_management/prometheus_integration_type.rb
@@ -3,11 +3,11 @@
module Types
module AlertManagement
class PrometheusIntegrationType < ::Types::BaseObject
- include ::Gitlab::Routing
-
graphql_name 'AlertManagementPrometheusIntegration'
description 'An endpoint and credentials used to accept Prometheus alerts for a project'
+ include ::Gitlab::Routing
+
implements(Types::AlertManagement::IntegrationType)
authorize :admin_project