@@ -34,6 +34,7 @@ class TaskResource extends JsonResource
'id' => $this->id,
'title' => $this->title,
'description' => $this->description,
+ 'type' => $this->type,
'parent_id' => $this->parent_id,
'parent' => TaskApi::getById($this->parent_id),
'roles' => $this->roles,