Skip to content

Commit

Permalink
Add: #510 カスタム絵文字取得APIにライセンス情報を付加 (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode authored Apr 18, 2024
1 parent 957caea commit 3af1b90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/serializers/rest/custom_emoji_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

attribute :aliases
attribute :license

def aliases
if object.respond_to?(:aliases) && object.aliases.present?
Expand Down

0 comments on commit 3af1b90

Please sign in to comment.