fix: correct know issues
Some checks are pending
Docker Build and Publish / build (push) Waiting to run

This commit is contained in:
xboard 2025-01-19 21:51:38 +08:00
parent 444c3c93ed
commit 96df9305b6

View File

@ -141,7 +141,7 @@ class Server extends Model
private function castValueWithConfig($value, array $config)
{
if ($value === null) {
if ($value === null && $config['type'] !== 'object') {
return $config['default'] ?? null;
}