More API updates, better support for node config edits
This commit is contained in:
parent
800e2df6b2
commit
cf21fd5a4b
21 changed files with 449 additions and 125 deletions
|
@ -74,7 +74,7 @@ class NodeController extends Controller
|
|||
*/
|
||||
public function index(Request $request): array
|
||||
{
|
||||
$nodes = $this->repository->all(config('pterodactyl.paginate.api.nodes'));
|
||||
$nodes = $this->repository->paginated(100);
|
||||
|
||||
$fractal = $this->fractal->collection($nodes)
|
||||
->transformWith(new NodeTransformer($request))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue