Fix validation schema

This commit is contained in:
Dane Everitt 2020-11-02 20:24:11 -08:00
parent 7618f306bd
commit 95d605c1e3
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -111,7 +111,7 @@ class Egg extends Model
'uuid' => 'required|string|size:36', 'uuid' => 'required|string|size:36',
'name' => 'required|string|max:191', 'name' => 'required|string|max:191',
'description' => 'string|nullable', 'description' => 'string|nullable',
'features' => 'json|nullable', 'features' => 'array|nullable',
'author' => 'required|string|email', 'author' => 'required|string|email',
'docker_image' => 'required|string|max:191', 'docker_image' => 'required|string|max:191',
'startup' => 'required|nullable|string', 'startup' => 'required|nullable|string',