From cf509d1a7cba5cb13fe53cf01af2d9cf3543e44b Mon Sep 17 00:00:00 2001 From: trochas Date: Thu, 8 Jan 2026 18:04:33 +0100 Subject: [PATCH] correction /api en trop --- front_end/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front_end/src/api.ts b/front_end/src/api.ts index e1e9a84..db8c7e7 100644 --- a/front_end/src/api.ts +++ b/front_end/src/api.ts @@ -37,7 +37,7 @@ export function clearAuthToken() { export const athleteService = { // controller is mounted at /athlete - create: (data: any) => api.post("/api/athlete/create", data), + create: (data: any) => api.post("/athlete/create", data), getAll: () => api.get("/athlete/all"), getById: (id: number | string) => api.get(`/athlete/${id}`), getByKeycloakId: (keycloakId: string) => api.get(`/athlete/keycloak/${encodeURIComponent(keycloakId)}`),