summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/environments/canary_ingress/update.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/environments/canary_ingress/update.rb')
-rw-r--r--app/graphql/mutations/environments/canary_ingress/update.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/mutations/environments/canary_ingress/update.rb b/app/graphql/mutations/environments/canary_ingress/update.rb
index 45dcc8314a0..e4ba08e6dcc 100644
--- a/app/graphql/mutations/environments/canary_ingress/update.rb
+++ b/app/graphql/mutations/environments/canary_ingress/update.rb
@@ -11,12 +11,12 @@ module Mutations
argument :id,
::Types::GlobalIDType[::Environment],
required: true,
- description: 'The global ID of the environment to update.'
+ description: 'Global ID of the environment to update.'
argument :weight,
- GraphQL::INT_TYPE,
+ GraphQL::Types::Int,
required: true,
- description: 'The weight of the Canary Ingress.'
+ description: 'Weight of the Canary Ingress.'
def resolve(id:, **kwargs)
environment = authorized_find!(id: id)