Include the egg name in egg model's response from the application API
This commit is contained in:
parent
917e5e19aa
commit
20c594ae3b
|
@ -3,6 +3,10 @@ This file is a running track of new features and fixes to each version of the pa
|
||||||
|
|
||||||
This project follows [Semantic Versioning](http://semver.org) guidelines.
|
This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||||
|
|
||||||
|
## v0.7.16 (Derelict Dermodactylus)
|
||||||
|
### Added
|
||||||
|
* The application API now includes the egg's name in the egg model's response.
|
||||||
|
|
||||||
## v0.7.15 (Derelict Dermodactylus)
|
## v0.7.15 (Derelict Dermodactylus)
|
||||||
### Fixed
|
### Fixed
|
||||||
* Fixes support for PHP 7.3 when running `composer install` commands due to a dependency that needed updating.
|
* Fixes support for PHP 7.3 when running `composer install` commands due to a dependency that needed updating.
|
||||||
|
|
|
@ -41,6 +41,7 @@ class EggTransformer extends BaseTransformer
|
||||||
return [
|
return [
|
||||||
'id' => $model->id,
|
'id' => $model->id,
|
||||||
'uuid' => $model->uuid,
|
'uuid' => $model->uuid,
|
||||||
|
'name' => $model->name,
|
||||||
'nest' => $model->nest_id,
|
'nest' => $model->nest_id,
|
||||||
'author' => $model->author,
|
'author' => $model->author,
|
||||||
'description' => $model->description,
|
'description' => $model->description,
|
||||||
|
|
Loading…
Reference in New Issue