From 2a1978a2337965446b25b84f80e9d826f40f31a9 Mon Sep 17 00:00:00 2001 From: Antoine Estienne Date: Sun, 5 Oct 2025 18:19:15 +0200 Subject: [PATCH] profiles without a slash --- frontend/src/hooks/profiles/use-get-profiles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/profiles/use-get-profiles.ts b/frontend/src/hooks/profiles/use-get-profiles.ts index e614dc3..66afeb4 100644 --- a/frontend/src/hooks/profiles/use-get-profiles.ts +++ b/frontend/src/hooks/profiles/use-get-profiles.ts @@ -3,7 +3,7 @@ import { useQuery, type UseQueryResult } from "@tanstack/react-query"; import { API_BASE_URL } from "@/lib/constants/apiConstants"; async function fetchProfiles(): Promise { - const response = await fetch(`${API_BASE_URL}/profiles/`, { + const response = await fetch(`${API_BASE_URL}/profiles`, { method: "GET", headers: { "Content-Type": "application/json",