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
|
@ -76,7 +76,7 @@ class UserController extends Controller
|
|||
*/
|
||||
public function index(Request $request): array
|
||||
{
|
||||
$users = $this->repository->all(config('pterodactyl.paginate.api.users'));
|
||||
$users = $this->repository->paginated(100);
|
||||
|
||||
return $this->fractal->collection($users)
|
||||
->transformWith(new UserTransformer($request))
|
||||
|
@ -113,7 +113,6 @@ class UserController extends Controller
|
|||
* @param \Pterodactyl\Models\User $user
|
||||
* @return array
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
|
||||
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue