generated from liutk/owl-admin-base
0.98
parent
ba91b6bce4
commit
96f37e5585
|
|
@ -16,6 +16,7 @@ class ProjectResource extends JsonResource
|
||||||
return [
|
return [
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'title' => $this->title,
|
'title' => $this->title,
|
||||||
|
'description' => $this->description,
|
||||||
'cover' => $this->cover,
|
'cover' => $this->cover,
|
||||||
'children' => ProjectChildrenResource::collection($this->whenLoaded('children')),
|
'children' => ProjectChildrenResource::collection($this->whenLoaded('children')),
|
||||||
'flows' => ProjectFlowResource::make($this->whenLoaded('flows')),
|
'flows' => ProjectFlowResource::make($this->whenLoaded('flows')),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue