diff --git a/app/Http/Requests/Api/Application/Nests/StoreNestRequest.php b/app/Http/Requests/Api/Application/Nests/StoreNestRequest.php index abb72dc5c..126636a73 100644 --- a/app/Http/Requests/Api/Application/Nests/StoreNestRequest.php +++ b/app/Http/Requests/Api/Application/Nests/StoreNestRequest.php @@ -2,8 +2,13 @@ namespace Pterodactyl\Http\Requests\Api\Application\Nests; +use Pterodactyl\Models\Nest; use Pterodactyl\Http\Requests\Api\Application\ApplicationApiRequest; class StoreNestRequest extends ApplicationApiRequest { + public function rules(array $rules = null): array + { + return $rules ?? Nest::getRules(); + } }