summaryrefslogtreecommitdiff
path: root/app/graphql/types/user_type.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 15:09:10 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 15:09:10 +0000
commit7f79d4c409705a05bcf5e11dbe6e8738b0e17fe6 (patch)
tree33d2cc91b6b82a907e2eef019590119e1573e2a3 /app/graphql/types/user_type.rb
parentae78b85a25cb0c19c3d6a2e4e6c7ca91ed50787d (diff)
downloadgitlab-ce-7f79d4c409705a05bcf5e11dbe6e8738b0e17fe6.tar.gz
Add latest changes from gitlab-org/gitlab@master
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'