فهرست منبع

fix: 🚑️ Shoud fix 500 on server overview

IceToast 3 سال پیش
والد
کامیت
cebc026d25
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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");