diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d42043df..2df5d805f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. +## v0.7.13 (Derelict Dermodactylus) +### Fixed +* Fixes a bug with the location update API endpoint throwing an error due to an unexected response value. + ## v0.7.12 (Derelict Dermodactylus) ### Fixed * Fixes an issue with the locations API endpoint referencing an invalid namespace. diff --git a/app/Http/Requests/Api/Application/Locations/UpdateLocationRequest.php b/app/Http/Requests/Api/Application/Locations/UpdateLocationRequest.php index 3a8a15c5f..2d83ab08f 100644 --- a/app/Http/Requests/Api/Application/Locations/UpdateLocationRequest.php +++ b/app/Http/Requests/Api/Application/Locations/UpdateLocationRequest.php @@ -30,6 +30,6 @@ class UpdateLocationRequest extends StoreLocationRequest return collect(Location::getUpdateRulesForId($locationId))->only([ 'short', 'long', - ]); + ])->toArray(); } }