summaryrefslogtreecommitdiff
path: root/app/graphql/types/custom_emoji_type.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 09:08:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 09:08:42 +0000
commitb76ae638462ab0f673e5915986070518dd3f9ad3 (patch)
treebdab0533383b52873be0ec0eb4d3c66598ff8b91 /app/graphql/types/custom_emoji_type.rb
parent434373eabe7b4be9593d18a585fb763f1e5f1a6f (diff)
downloadgitlab-ce-b76ae638462ab0f673e5915986070518dd3f9ad3.tar.gz
Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42
Diffstat (limited to 'app/graphql/types/custom_emoji_type.rb')
-rw-r--r--app/graphql/types/custom_emoji_type.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/custom_emoji_type.rb b/app/graphql/types/custom_emoji_type.rb
index 246b60ce184..64381b3ee1e 100644
--- a/app/graphql/types/custom_emoji_type.rb
+++ b/app/graphql/types/custom_emoji_type.rb
@@ -11,16 +11,16 @@ module Types
null: false,
description: 'The ID of the emoji.'
- field :name, GraphQL::STRING_TYPE,
+ field :name, GraphQL::Types::String,
null: false,
description: 'The name of the emoji.'
- field :url, GraphQL::STRING_TYPE,
+ field :url, GraphQL::Types::String,
null: false,
method: :file,
description: 'The link to file of the emoji.'
- field :external, GraphQL::BOOLEAN_TYPE,
+ field :external, GraphQL::Types::Boolean,
null: false,
description: 'Whether the emoji is an external link.'
end