Add api for set emoji reactions to toot

This commit is contained in:
KMY 2023-02-24 20:57:01 +09:00
parent f157a509d6
commit 5f7da7bff1
17 changed files with 276 additions and 18 deletions

View file

@ -21,7 +21,7 @@ class EmojiReaction < ApplicationRecord
belongs_to :account, inverse_of: :emoji_reactions
belongs_to :status, inverse_of: :emoji_reactions
belongs_to :custom_emojis, optional: true
belongs_to :custom_emoji, optional: true
has_one :notification, as: :activity, dependent: :destroy