Add allow_image config
This commit is contained in:
parent
dba5620052
commit
ee72808c1f
2 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
|||
max_characters_per_option: PollValidator::MAX_OPTION_CHARS,
|
||||
min_expiration: PollValidator::MIN_EXPIRATION,
|
||||
max_expiration: PollValidator::MAX_EXPIRATION,
|
||||
allow_image: true,
|
||||
},
|
||||
|
||||
translation: {
|
||||
|
|
|
@ -84,6 +84,7 @@ class REST::V1::InstanceSerializer < ActiveModel::Serializer
|
|||
max_characters_per_option: PollValidator::MAX_OPTION_CHARS,
|
||||
min_expiration: PollValidator::MIN_EXPIRATION,
|
||||
max_expiration: PollValidator::MAX_EXPIRATION,
|
||||
allow_image: true,
|
||||
},
|
||||
|
||||
emoji_reactions: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue