Skip to content

Commit 0cbedd9

Browse files
author
Matthew Penner
committed
Fix LocationController#store()
1 parent 4ad9b26 commit 0cbedd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Http/Controllers/Api/Application/Locations/LocationController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Pterodactyl\Http\Requests\Api\Application\Locations\GetLocationRequest;
1515
use Pterodactyl\Http\Requests\Api\Application\Locations\GetLocationsRequest;
1616
use Pterodactyl\Http\Requests\Api\Application\Locations\DeleteLocationRequest;
17+
use Pterodactyl\Http\Requests\Api\Application\Locations\StoreLocationRequest;
1718
use Pterodactyl\Http\Requests\Api\Application\Locations\UpdateLocationRequest;
1819

1920
class LocationController extends ApplicationApiController
@@ -92,7 +93,7 @@ public function view(GetLocationRequest $request): array
9293
* Store a new location on the Panel and return a HTTP/201 response code with the
9394
* new location attached.
9495
*
95-
* @param \Pterodactyl\Http\Controllers\Api\Application\Locations\StoreLocationRequest $request
96+
* @param \Pterodactyl\Http\Requests\Api\Application\Locations\StoreLocationRequest $request
9697
* @return \Illuminate\Http\JsonResponse
9798
*
9899
* @throws \Pterodactyl\Exceptions\Model\DataValidationException

0 commit comments

Comments
 (0)