From 662d8d4987801679eb2586fcaba54a696c29c78f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 11 Jun 2020 09:36:58 +0200 Subject: [PATCH] return descriptionRaw --- Models/TaskElement.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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, ]; }