diff --git a/Models/TaskElement.php b/Models/TaskElement.php index 4043465..69a3230 100755 --- a/Models/TaskElement.php +++ b/Models/TaskElement.php @@ -656,15 +656,16 @@ class TaskElement implements \JsonSerializable public function toArray() : array { return [ - 'id' => $this->id, - 'task' => $this->task, - 'createdBy' => $this->createdBy, - 'createdAt' => $this->createdAt, - 'description' => $this->description, - 'status' => $this->status, - 'to' => $this->getTo(), - 'cc' => $this->getCC(), - 'due' => $this->due, + 'id' => $this->id, + 'task' => $this->task, + 'createdBy' => $this->createdBy, + 'createdAt' => $this->createdAt, + 'description' => $this->description, + 'descriptionRaw' => $this->descriptionRaw, + 'status' => $this->status, + 'to' => $this->getTo(), + 'cc' => $this->getCC(), + 'due' => $this->due, ]; }