Adjust initial_state_serializer to state of updated emoji reactions PR

This commit is contained in:
Jeremy Kescher 2024-02-07 16:46:08 +01:00
parent 40ef7b3849
commit e4a333c6ae
No known key found for this signature in database
GPG key ID: 80A419A7A613DFA4

View file

@ -17,14 +17,14 @@ class InitialStateSerializer < ActiveModel::Serializer
StatusLengthValidator::MAX_CHARS StatusLengthValidator::MAX_CHARS
end end
def max_feed_hashtags
TagFeed::LIMIT_PER_MODE
end
def max_reactions def max_reactions
StatusReactionValidator::LIMIT StatusReactionValidator::LIMIT
end end
def max_feed_hashtags
TagFeed::LIMIT_PER_MODE
end
def poll_limits def poll_limits
{ {
min_options: PollValidator::MIN_OPTIONS, min_options: PollValidator::MIN_OPTIONS,