mirror of
https://github.com/pelican-dev/panel.git
synced 2025-06-17 01:01:08 +02:00
Add validation rule
This commit is contained in:
parent
a8699704de
commit
738707b251
@ -167,6 +167,7 @@ class Server extends Model
|
||||
'database_limit' => 'present|nullable|integer|min:0',
|
||||
'allocation_limit' => 'sometimes|nullable|integer|min:0',
|
||||
'backup_limit' => 'present|nullable|integer|min:0',
|
||||
'ports' => 'nullable|array',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
|
Loading…
x
Reference in New Issue
Block a user