Fix broken external_id handling when creating servers

This commit is contained in:
Dane Everitt 2018-02-25 14:43:40 -06:00
parent 411da94dfe
commit 6a4b5e04e2
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 5 additions and 0 deletions

View file

@ -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.3 (Derelict Dermodactylus)
### Fixed
* Fixes server creation API endpoint not passing the provided `external_id` to the creation service.
## v0.7.2 (Derelict Dermodactylus) ## v0.7.2 (Derelict Dermodactylus)
### Fixed ### Fixed
* Fixes an exception thrown when trying to access the `/nests/:id/eggs/:id` API endpoint. * Fixes an exception thrown when trying to access the `/nests/:id/eggs/:id` API endpoint.

View file

@ -76,6 +76,7 @@ class StoreServerRequest extends ApplicationApiRequest
$data = parent::validated(); $data = parent::validated();
return [ return [
'external_id' => array_get($data, 'external_id'),
'name' => array_get($data, 'name'), 'name' => array_get($data, 'name'),
'description' => array_get($data, 'description'), 'description' => array_get($data, 'description'),
'owner_id' => array_get($data, 'user'), 'owner_id' => array_get($data, 'user'),