admin(ui): fix updateNode api request

This commit is contained in:
Matthew Penner 2021-02-11 10:32:13 -07:00
parent 3c2094890a
commit f790404845
3 changed files with 17 additions and 2 deletions

View file

@ -107,7 +107,7 @@ class Node extends Model
'name' => 'required|regex:/^([\w .-]{1,100})$/',
'description' => 'string|nullable',
'location_id' => 'required|exists:locations,id',
'database_host_id' => 'required|exists:database_hosts,id',
'database_host_id' => 'sometimes|nullable|exists:database_hosts,id',
'public' => 'boolean',
'fqdn' => 'required|string',
'listen_port_http' => 'required|numeric|between:1,65535',