diff --git a/frontend/src/Components/UserProjectListAdmin.tsx b/frontend/src/Components/UserProjectListAdmin.tsx index 423e793..5da234d 100644 --- a/frontend/src/Components/UserProjectListAdmin.tsx +++ b/frontend/src/Components/UserProjectListAdmin.tsx @@ -11,7 +11,7 @@ const UserProjectListAdmin: React.FC = () => { const token = localStorage.getItem("accessToken") ?? ""; const username = getUsernameFromContext(); // Assuming you have a function to get the username from your context - const response = await api.getUserProjects(username, token); + const response = await api.getUserProjects("", token); if (response.success) { setProjects(response.data ?? []); } else {