Explorar el Código

fix: 🚑️ Shoud fix 500 on server overview

IceToast hace 3 años
padre
commit
cebc026d25
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Classes/Pterodactyl.php

+ 1 - 1
app/Classes/Pterodactyl.php

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