no message

This commit is contained in:
StudioTem committed 2023-02-27 22:14:13 +01:00
1 parent 54c850f1ae
commit de2761fc48
2 files changed
+2

No files matched your search

@@ -17,6 +17,7 @@ class MasterTaskResource extends JsonResource
return [ return [
'id' => $this->id, 'id' => $this->id,
'name' => $this->title, 'name' => $this->title,
'created_by' => $this->created_by,
'description' => $this->description, 'description' => $this->description,
'duration' => $this->estimated_time, 'duration' => $this->estimated_time,
'time_worked' => $this->tracked_time, 'time_worked' => $this->tracked_time,
@@ -16,6 +16,7 @@ class SubTaskResource extends JsonResource
{ {
return [ return [
'id' => $this->id, 'id' => $this->id,
'created_by' => $this->created_by,
'master_task_description' => $this->mastertask->description, 'master_task_description' => $this->mastertask->description,
'description' => $this->description, 'description' => $this->description,
'project_code' => $this->mastertask->project->code, 'project_code' => $this->mastertask->project->code,