This commit is contained in:
romankko2 committed 2023-02-07 10:22:40 +01:00
commit 19b9af50d3
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ class MasterTaskResource extends JsonResource
'starts_at' => $this->created_at, 'starts_at' => $this->created_at,
'deadline' => $this->deadline, 'deadline' => $this->deadline,
'project_code' => $this->project->code, 'project_code' => $this->project->code,
'team_id' => ($this->team) ? $this->team->id : null, 'team' => ($this->team) ?: null,
'employees' => UserResource::collection($this->usersOutsideTeam), 'employees' => UserResource::collection($this->usersOutsideTeam),
'subtasks' => SubTaskResource::collection($this->subtasks), 'subtasks' => SubTaskResource::collection($this->subtasks),
'files' => AttachmentResource::collection($this->attachments), 'files' => AttachmentResource::collection($this->attachments),