forked from Alex/Pterodactyl-Panel
admin: fix nest create not working
This commit is contained in:
parent
004a13a5f7
commit
4da38891c7
@ -2,8 +2,13 @@
|
|||||||
|
|
||||||
namespace Pterodactyl\Http\Requests\Api\Application\Nests;
|
namespace Pterodactyl\Http\Requests\Api\Application\Nests;
|
||||||
|
|
||||||
|
use Pterodactyl\Models\Nest;
|
||||||
use Pterodactyl\Http\Requests\Api\Application\ApplicationApiRequest;
|
use Pterodactyl\Http\Requests\Api\Application\ApplicationApiRequest;
|
||||||
|
|
||||||
class StoreNestRequest extends ApplicationApiRequest
|
class StoreNestRequest extends ApplicationApiRequest
|
||||||
{
|
{
|
||||||
|
public function rules(array $rules = null): array
|
||||||
|
{
|
||||||
|
return $rules ?? Nest::getRules();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user