Add max_note_length and max_display_name_length to configuration.accounts in Instance entity (#37991)
This commit is contained in:
1 parent
d18a47b6a7
commit
951a42f491
1 file changed
+2
@@ -69,6 +69,8 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
||||
},
|
||||
|
||||
accounts: {
|
||||
max_display_name_length: Account::DISPLAY_NAME_LENGTH_LIMIT,
|
||||
max_note_length: Account::NOTE_LENGTH_LIMIT,
|
||||
max_featured_tags: FeaturedTag::LIMIT,
|
||||
max_pinned_statuses: StatusPinValidator::PIN_LIMIT,
|
||||
max_profile_fields: Account::DEFAULT_FIELDS_SIZE,
|
||||
|
||||
Reference in new issue
Block a user