Add "Unknown" status to the available component statuses

This commit is contained in:
Nicolas Fagotti
2016-10-21 20:00:18 -03:00
parent 196eba7129
commit b223da94a0
8 changed files with 9 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ final class UpdateIncidentCommand
'message' => 'nullable|string',
'visible' => 'nullable|bool',
'component_id' => 'nullable|int',
'component_status' => 'nullable|int|min:1|max:4|required_with:component_id',
'component_status' => 'nullable|int|min:0|max:4|required_with:component_id',
'notify' => 'nullable|bool',
'stickied' => 'nullable|bool',
'template' => 'nullable|string',