Compare commits

..

2 Commits

Author SHA1 Message Date
2590c2de71 Remove deprecated Domain::managed()
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m49s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-29 19:45:08 +10:00
31770241ec Fix for when no zones/echoareas have been created yet in a domain 2024-05-29 19:45:00 +10:00

View File

@ -50,7 +50,7 @@ class DomainRequest extends FormRequest
'nodestatus_id' => [
'nullable',
Rule::exists(Echoarea::class,'id'),
Rule::in($o->echoareas->pluck('id')),
Rule::in($o?->echoareas->pluck('id')),
]
];
}