Fix creation of Region Address AKA for a system
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m31s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-12-01 21:52:37 +11:00
parent aa1a460836
commit 941f7b480e

View File

@ -76,7 +76,7 @@ class AddressAdd extends FormRequest
$query
->where('region_id',$value)
// Check that a host doesnt already exist
->orWhere('host_id',$value)
->where('host_id',$value)
)
->where('zone_id',$request->zone_id)
->where('node_id',0)