Merge commit 'e1530a66efba52020f6f0d2643c3b63947cef209'

This commit is contained in:
fef 2022-12-02 08:28:11 +00:00
commit 8855c53d5b
No known key found for this signature in database
GPG key ID: EC22E476DC2D3D84
2 changed files with 8 additions and 0 deletions

View file

@ -77,6 +77,10 @@ class REST::InstanceSerializer < ActiveModel::Serializer
translation: {
enabled: TranslationService.configured?,
},
reactions: {
max_reactions: StatusReactionValidator::LIMIT,
},
}
end

View file

@ -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