From 013a1186adcd2f638ac2a190489742e54da985ed Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 1 Dec 2014 12:57:40 +0000 Subject: [PATCH] component_id is fillable within the model --- app/models/Incident.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/Incident.php b/app/models/Incident.php index df6c5fdf..00d926fe 100644 --- a/app/models/Incident.php +++ b/app/models/Incident.php @@ -15,7 +15,7 @@ class Incident extends Eloquent implements \Dingo\Api\Transformer\TransformableI 'message' => 'required', ]; - protected $fillable = ['component', 'name', 'status', 'message']; + protected $fillable = ['component_id', 'name', 'status', 'message']; protected $appends = ['humanStatus'];