mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-25 00:14:06 +01:00
Merge commit 'e1530a66efba52020f6f0d2643c3b63947cef209'
This commit is contained in:
commit
8855c53d5b
2 changed files with 8 additions and 0 deletions
|
@ -77,6 +77,10 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
|||
translation: {
|
||||
enabled: TranslationService.configured?,
|
||||
},
|
||||
|
||||
reactions: {
|
||||
max_reactions: StatusReactionValidator::LIMIT,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -98,6 +98,10 @@ class REST::V1::InstanceSerializer < ActiveModel::Serializer
|
|||
min_expiration: PollValidator::MIN_EXPIRATION,
|
||||
max_expiration: PollValidator::MAX_EXPIRATION,
|
||||
},
|
||||
|
||||
reactions: {
|
||||
max_reactions: StatusReactionValidator::LIMIT,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue