summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/echo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/echo.rb')
-rw-r--r--app/graphql/mutations/echo.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/mutations/echo.rb b/app/graphql/mutations/echo.rb
index 61d39009ba4..a953a9489e7 100644
--- a/app/graphql/mutations/echo.rb
+++ b/app/graphql/mutations/echo.rb
@@ -11,18 +11,18 @@ module Mutations
DOC
argument :errors,
- type: [::GraphQL::STRING_TYPE],
+ type: [::GraphQL::Types::String],
required: false,
description: 'Errors to return to the user.'
argument :messages,
- type: [::GraphQL::STRING_TYPE],
+ type: [::GraphQL::Types::String],
as: :echoes,
required: false,
description: 'Messages to return to the user.'
field :echoes,
- type: [::GraphQL::STRING_TYPE],
+ type: [::GraphQL::Types::String],
null: true,
description: 'Messages returned to the user.'