Skip to content

Commit

Permalink
Update PterodactylServerType.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 authored Oct 19, 2022
1 parent a1c82ef commit 7007603
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 @@ -239,7 +239,7 @@ public function createAccount(OrderItem $item): string
'start_on_completion' => true,
'external_id' => (string)$item->getService()->getId(),
];
return 'success';

$server = Http::callApi($item->getServer(), 'servers', $serverData, 'POST');
if ($server->status() === 400) {
//$this->logger->critical($server->toJson());
Expand Down

0 comments on commit 7007603

Please sign in to comment.