Include the egg name in egg model's response from the application API (#1684)

This commit is contained in:
Stepan Fedotov 2019-12-28 21:12:01 +02:00 committed by Dane Everitt
parent 86e6daf0aa
commit c377be2a7c
2 changed files with 5 additions and 0 deletions

View file

@ -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,