From 9fbc14b60d80873f66ea4ec19177199714f900dc Mon Sep 17 00:00:00 2001 From: Michal Feher Date: Fri, 17 Feb 2023 15:49:34 +0100 Subject: [PATCH] no message --- be/app/Http/Resources/SubTaskResource.php | 1 + 1 file changed, 1 insertion(+) diff --git a/be/app/Http/Resources/SubTaskResource.php b/be/app/Http/Resources/SubTaskResource.php index 6f78154..7f0c9df 100644 --- a/be/app/Http/Resources/SubTaskResource.php +++ b/be/app/Http/Resources/SubTaskResource.php @@ -29,6 +29,7 @@ class SubTaskResource extends JsonResource 'timeblocks' => TimeblockResource::collection($this->timeblocks), 'timesheets' => TimesheetResource::collection($this->timesheets), 'files' => AttachmentResource::collection($this->attachments), + 'color' => $this->mastertask->color, ]; }