Skip to content

Commit 62e68ec

Browse files
parkervcpDaneEveritt
authored andcommitted
Fix for Locations PATCH endpoint (pterodactyl#1499)
1 parent 807d075 commit 62e68ec

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
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.13 (Derelict Dermodactylus)
7+
### Fixed
8+
* Fixes a bug with the location update API endpoint throwing an error due to an unexected response value.
9+
610
## v0.7.12 (Derelict Dermodactylus)
711
### Fixed
812
* Fixes an issue with the locations API endpoint referencing an invalid namespace.

app/Http/Requests/Api/Application/Locations/UpdateLocationRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ public function rules(): array
3030
return collect(Location::getUpdateRulesForId($locationId))->only([
3131
'short',
3232
'long',
33-
]);
33+
])->toArray();
3434
}
3535
}

0 commit comments

Comments
 (0)