fix en cours

This commit is contained in:
trochas
2026-01-08 17:53:42 +01:00
parent 43488884ff
commit 4eed2e2954
3 changed files with 5 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ export function clearAuthToken() {
export const athleteService = {
// controller is mounted at /athlete
create: (data: any) => api.post<AthleteDTO>("/athlete/create", data),
create: (data: any) => api.post<AthleteDTO>("/api/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)}`),