admin: fix nest create not working
This commit is contained in:
parent
004a13a5f7
commit
4da38891c7
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue