Fix broken external_id handling when creating servers
This commit is contained in:
parent
411da94dfe
commit
6a4b5e04e2
2 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||||
|
|
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue