parent
957caea207
commit
3af1b90795
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ class REST::CustomEmojiSerializer < REST::CustomEmojiSlimSerializer
|
||||||
# Please update `app/javascript/mastodon/api_types/custom_emoji.ts` when making changes to the attributes
|
# Please update `app/javascript/mastodon/api_types/custom_emoji.ts` when making changes to the attributes
|
||||||
|
|
||||||
attribute :aliases
|
attribute :aliases
|
||||||
|
attribute :license
|
||||||
|
|
||||||
def aliases
|
def aliases
|
||||||
if object.respond_to?(:aliases) && object.aliases.present?
|
if object.respond_to?(:aliases) && object.aliases.present?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue