todo front in work
This commit is contained in:
@@ -23,7 +23,7 @@ class ToDoList extends JsonResource
|
||||
'data' => [
|
||||
'name' => $this->name,
|
||||
'to_dos' => new ToDoCollection($this->toDos),
|
||||
'posted_by' => new UserResource($this->user),
|
||||
'posted_by' => new UserResource($this->author),
|
||||
'last_updated' => $this->updated_at->diffForHumans(),
|
||||
// 'cover_image' => new ImageResource($this->coverImage),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user