summaryrefslogtreecommitdiff
path: root/app/graphql/resolvers/echo_resolver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/resolvers/echo_resolver.rb')
-rw-r--r--app/graphql/resolvers/echo_resolver.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/graphql/resolvers/echo_resolver.rb b/app/graphql/resolvers/echo_resolver.rb
index 0c7dad622cf..a09b0a1fd87 100644
--- a/app/graphql/resolvers/echo_resolver.rb
+++ b/app/graphql/resolvers/echo_resolver.rb
@@ -5,8 +5,10 @@ module Resolvers
type ::GraphQL::STRING_TYPE, null: false
description 'Testing endpoint to validate the API with'
- argument :text, GraphQL::STRING_TYPE, required: true,
- description: 'Text to echo back.'
+ argument :text,
+ type: GraphQL::STRING_TYPE,
+ required: true,
+ description: 'Text to echo back.'
def resolve(text:)
username = current_user&.username