summaryrefslogtreecommitdiff
path: root/app/graphql/types/custom_emoji_type.rb
diff options
context:
space:
mode:
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