andre 7 bulan lalu
induk
melakukan
d09fbdcfb6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)]);
             return;
         }
-        echo json_encode($userOutput);
+        echo json_decode($userOutput[0]);
     }
     public static function getStats(): void {
         // get all quotas