diff --git a/apps/client-ts/src/components/RootLayout/index.tsx b/apps/client-ts/src/components/RootLayout/index.tsx index 3d4db8df8..c204a1d13 100644 --- a/apps/client-ts/src/components/RootLayout/index.tsx +++ b/apps/client-ts/src/components/RootLayout/index.tsx @@ -73,7 +73,7 @@ export const RootLayout = () => { if (profile && profile.id_user) { console.log("profile is => " + JSON.stringify(profile)); const fetchProjects = async () => { - const response = await fetch(`${config.API_URL}/projects/${profile.id_user}`); + const response = await fetch(`${config.API_URL}/projects`); //${profile.id_user} const projectsData = await response.json(); console.log("PROJECTS FETCHED ARE => " + JSON.stringify(projectsData)); const PROJECTS = projectsData as Project[];