Fix error causing inability to save variables.
This commit is contained in:
parent
d6d43ebc1d
commit
655d2485b5
12 changed files with 73 additions and 29 deletions
|
@ -18,7 +18,6 @@ class EggVariableFormRequest extends AdminFormRequest
|
|||
'name' => 'required|string|min:1|max:255',
|
||||
'description' => 'sometimes|nullable|string',
|
||||
'env_variable' => 'required|regex:/^[\w]{1,255}$/|notIn:' . EggVariable::RESERVED_ENV_NAMES,
|
||||
'default_value' => 'nullable|string',
|
||||
'options' => 'sometimes|required|array',
|
||||
'rules' => 'bail|required|string',
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue