mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-08 17:30:18 +01:00
Fix node_ids rule for database host (#1885)
This commit is contained in:
parent
5c3b0919aa
commit
216a3484f1
@ -60,7 +60,7 @@ class DatabaseHost extends Model implements Validatable
|
||||
'username' => ['required', 'string', 'max:32'],
|
||||
'password' => ['nullable', 'string'],
|
||||
'node_ids' => ['nullable', 'array'],
|
||||
'node_ids.*' => ['required', 'integer,exists:nodes,id'],
|
||||
'node_ids.*' => ['required', 'integer', 'exists:nodes,id'],
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user