Include the egg name in egg model's response from the application API
This commit is contained in:
parent
917e5e19aa
commit
20c594ae3b
2 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,7 @@ class EggTransformer extends BaseTransformer
|
|||
return [
|
||||
'id' => $model->id,
|
||||
'uuid' => $model->uuid,
|
||||
'name' => $model->name,
|
||||
'nest' => $model->nest_id,
|
||||
'author' => $model->author,
|
||||
'description' => $model->description,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue