summaryrefslogtreecommitdiff
path: root/app/graphql/types/grafana_integration_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/grafana_integration_type.rb')
-rw-r--r--app/graphql/types/grafana_integration_type.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/grafana_integration_type.rb b/app/graphql/types/grafana_integration_type.rb
index 630d3a10e36..26fefd51e08 100644
--- a/app/graphql/types/grafana_integration_type.rb
+++ b/app/graphql/types/grafana_integration_type.rb
@@ -6,11 +6,11 @@ module Types
authorize :admin_operations
- field :id, GraphQL::ID_TYPE, null: false,
+ field :id, GraphQL::Types::ID, null: false,
description: 'Internal ID of the Grafana integration.'
- field :grafana_url, GraphQL::STRING_TYPE, null: false,
+ field :grafana_url, GraphQL::Types::String, null: false,
description: 'URL for the Grafana host for the Grafana integration.'
- field :enabled, GraphQL::BOOLEAN_TYPE, null: false,
+ field :enabled, GraphQL::Types::Boolean, null: false,
description: 'Indicates whether Grafana integration is enabled.'
field :created_at, Types::TimeType, null: false,
description: 'Timestamp of the issue\'s creation.'