Fix other setting merge misstake
This commit is contained in:
parent
1200842ca5
commit
6e31ac8714
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
|
|||
|
||||
def other_setting
|
||||
config = { 'noindex' => object.noindex?, 'noai' => object.noai?, 'hide_network' => object.hide_collections }
|
||||
config.merge(object.settings) if object.settings.present?
|
||||
config = config.merge(object.settings) if object.settings.present?
|
||||
config.map do |k, v|
|
||||
{
|
||||
type: 'PropertyValue',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue