Fix wrong default value for contact_account in Mastodon\Instance

This commit is contained in:
Hypolite Petovan 2025-01-27 22:01:40 -05:00
parent e4fa1aa418
commit 186b82d71d

View file

@ -61,7 +61,7 @@ class Instance extends BaseDataTransferObject
$this->approval_required = ($register_policy === Register::APPROVE);
$this->invites_enabled = false;
$this->configuration = $configuration;
$this->contact_account = $contact_account ?? [];
$this->contact_account = $contact_account;
$this->rules = $rules;
}
}