Skip to content

Commit c377be2

Browse files
TrixterTheTuxDaneEveritt
authored andcommitted
Include the egg name in egg model's response from the application API (pterodactyl#1684)
1 parent 86e6daf commit c377be2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ This file is a running track of new features and fixes to each version of the pa
33

44
This project follows [Semantic Versioning](http://semver.org) guidelines.
55

6+
## v0.7.16 (Derelict Dermodactylus)
7+
### Added
8+
* The application API now includes the egg's name in the egg model's response.
9+
610
## v0.7.15 (Derelict Dermodactylus)
711
### Fixed
812
* Fixes support for PHP 7.3 when running `composer install` commands due to a dependency that needed updating.

app/Transformers/Api/Application/EggTransformer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function transform(Egg $model)
4141
return [
4242
'id' => $model->id,
4343
'uuid' => $model->uuid,
44+
'name' => $model->name,
4445
'nest' => $model->nest_id,
4546
'author' => $model->author,
4647
'description' => $model->description,

0 commit comments

Comments
 (0)