fix: 🚑️ Shoud fix 500 on server overview

This commit is contained in:
IceToast 2022-02-07 15:04:57 +01:00
parent 4a5fab6388
commit cebc026d25

View file

@ -241,7 +241,7 @@ class Pterodactyl
* @param int $pterodactylId * @param int $pterodactylId
* @return mixed * @return mixed
*/ */
public static function getServerAttributes(string $pterodactylId) public static function getServerAttributes(int $pterodactylId)
{ {
try { try {
$response = self::client()->get("/application/servers/{$pterodactylId}?include=egg,node,nest,location"); $response = self::client()->get("/application/servers/{$pterodactylId}?include=egg,node,nest,location");