summaryrefslogtreecommitdiff
path: root/app/graphql/resolvers/user_resolver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/resolvers/user_resolver.rb')
-rw-r--r--app/graphql/resolvers/user_resolver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/resolvers/user_resolver.rb b/app/graphql/resolvers/user_resolver.rb
index 06c1f0cb42d..84bc03091d9 100644
--- a/app/graphql/resolvers/user_resolver.rb
+++ b/app/graphql/resolvers/user_resolver.rb
@@ -8,11 +8,11 @@ module Resolvers
argument :id, Types::GlobalIDType[User],
required: false,
- description: 'ID of the User'
+ description: 'ID of the User.'
argument :username, GraphQL::STRING_TYPE,
required: false,
- description: 'Username of the User'
+ description: 'Username of the User.'
def ready?(id: nil, username: nil)
unless id.present? ^ username.present?