Skip to content

Commit

Permalink
Update PterodactylServerType.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 authored Nov 20, 2022
1 parent 9f4041b commit 3fdcc1f
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 @@ -154,7 +154,7 @@ public function createAccount(OrderItem $item): string

$password = Str::randomStr(10);
$createUser = $this->makeAccount($user, $item->getServer(), $password);
if ($createUser->status() != 200){
if ($createUser->status() != 201){
return "Cannot create pterodactyl user";
}
$result = $createUser->data()->attributes;
Expand Down

0 comments on commit 3fdcc1f

Please sign in to comment.