Skip to content

Commit

Permalink
Change: スタンプのidをお気に入り特別できるよう変更 (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode authored Nov 8, 2023
1 parent ec0002c commit 408da2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/activitypub/emoji_reaction_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ActivityPub::EmojiReactionSerializer < ActivityPub::Serializer
has_many :virtual_tags, key: :tag, unless: -> { object.custom_emoji.nil? }

def id
[ActivityPub::TagManager.instance.uri_for(object.account), '#likes/', object.id].join
[ActivityPub::TagManager.instance.uri_for(object.account), '#emoji_reactions/', object.id].join
end

def type
Expand Down

0 comments on commit 408da2c

Please # to comment.