andre 7 mesi fa
parent
commit
751f48c648
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      controllers/QuotaController.php

+ 1 - 1
controllers/QuotaController.php

@@ -21,7 +21,7 @@ class QuotaController {
             echo json_encode(['error' => 'Failed to get user quota', 'details' => implode("\n", $userOutput)]);
             echo json_encode(['error' => 'Failed to get user quota', 'details' => implode("\n", $userOutput)]);
             return;
             return;
         }
         }
-        echo json_decode($userOutput[0]);
+        echo json_decode(print_r($userOutput));
     }
     }
     public static function getStats(): void {
     public static function getStats(): void {
         // get all quotas
         // get all quotas