From 8cb1831cb4a6950c6621f79931205d728505d8d1 Mon Sep 17 00:00:00 2001 From: Gabriel Santana de Menezes Date: Sun, 17 May 2026 20:58:26 -0400 Subject: [PATCH] Fix public stats parsing on landing page --- frontend/src/services/publicStatsService.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/services/publicStatsService.ts b/frontend/src/services/publicStatsService.ts index 317c0ff..6f1877c 100644 --- a/frontend/src/services/publicStatsService.ts +++ b/frontend/src/services/publicStatsService.ts @@ -9,9 +9,8 @@ export interface PublicStats { export const publicStatsService = { getStats: async (): Promise => { - const response = await apiFetch("/public/stats", { + return apiFetch("/public/stats", { method: "GET", - }) as Response; - return response.json(); + }); }, };