Properly handle no passed packs.
This commit is contained in:
parent
fee3f3df6f
commit
0d792f05c5
|
@ -93,7 +93,7 @@ class ServerRepository
|
|||
'disk' => 'required|numeric|min:0',
|
||||
'service' => 'required|numeric|min:1|exists:services,id',
|
||||
'option' => 'required|numeric|min:1|exists:service_options,id',
|
||||
'pack' => 'required|numeric|min:0',
|
||||
'pack' => 'sometimes|nullable|numeric|min:0',
|
||||
'startup' => 'string',
|
||||
'custom_image_name' => 'required_if:use_custom_image,on',
|
||||
'auto_deploy' => 'sometimes|boolean',
|
||||
|
|
Loading…
Reference in New Issue