Allow updating incidents when the incident has no associated user
This commit is contained in:
committed by
Nico Stapelbroek
parent
3e3763722b
commit
253d9ec445
@@ -120,7 +120,7 @@ class Incident extends Model implements HasPresenter
|
||||
* @var string[]
|
||||
*/
|
||||
public $rules = [
|
||||
'user_id' => 'required|int',
|
||||
'user_id' => 'nullable|int',
|
||||
'component_id' => 'nullable|int',
|
||||
'name' => 'required|string',
|
||||
'status' => 'required|int',
|
||||
|
||||
Reference in New Issue
Block a user