summaryrefslogtreecommitdiff
path: root/app/graphql/types/user_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/user_type.rb')
-rw-r--r--app/graphql/types/user_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/types/user_type.rb b/app/graphql/types/user_type.rb
index 3943c891335..e530641d6ae 100644
--- a/app/graphql/types/user_type.rb
+++ b/app/graphql/types/user_type.rb
@@ -14,7 +14,7 @@ module Types
description: 'Human-readable name of the user'
field :username, GraphQL::STRING_TYPE, null: false,
description: 'Username of the user. Unique within this instance of GitLab'
- field :avatar_url, GraphQL::STRING_TYPE, null: false,
+ field :avatar_url, GraphQL::STRING_TYPE, null: true,
description: "URL of the user's avatar"
field :web_url, GraphQL::STRING_TYPE, null: false,
description: 'Web URL of the user'