andre 7 月之前
父節點
當前提交
d09fbdcfb6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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