andre 7 달 전
부모
커밋
f5ef759986
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)]);
             echo json_encode(['error' => 'Failed to get user quota', 'details' => implode("\n", $userOutput)]);
             return;
             return;
         }
         }
-        echo $userOutput;
+        echo json_encode($userOutput);
     }
     }
     public static function getStats(): void {
     public static function getStats(): void {
         // get all quotas
         // get all quotas