Skip to content

Commit

Permalink
Update PterodactylServerType.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 authored May 18, 2023
1 parent 7bc4a5e commit 38962a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pterodactyl/PterodactylServerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function createAccount(OrderItem $item): string
$user = $item->getOrder()->getUser();

$data = [];
$userResult = Http::callApi($item->getServer(), 'users');
$userResult = Http::callApi($item->getServer(), 'users?per_page=1000');
$data = array_merge($userResult->data()->data, $data);
$result = null;
foreach ($userResult->data()->data as $key => $value) {
Expand Down

0 comments on commit 38962a7

Please sign in to comment.