Explorar o código

fix: 🚑️ Shoud fix 500 on server overview

IceToast %!s(int64=3) %!d(string=hai) anos
pai
achega
cebc026d25
Modificáronse 1 ficheiros con 1 adicións e 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");