This commit is contained in:
f4ilji
2024-11-11 16:44:30 +05:00
parent aeb9157a5a
commit 2583221780
+1 -1
View File
@@ -18,7 +18,7 @@ class DivisionResource extends JsonResource
'id' => $this->id, 'id' => $this->id,
'title' => $this->title, 'title' => $this->title,
'slug' => $this->slug, 'slug' => $this->slug,
'workers' => UserResource::collection($this->whenLoaded('workers')), 'workers' => ClientPersonDivisionPreviewResource::collection($this->whenLoaded('workers')),
'description' => $this->description, 'description' => $this->description,
]; ];
} }