@@ -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