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