andre 7 tháng trước cách đây
mục cha
commit
f5ef759986
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 $userOutput;
+        echo json_encode($userOutput);
     }
     public static function getStats(): void {
         // get all quotas