minor fix

This commit is contained in:
pavel Hamawand 2024-03-18 17:05:37 +01:00
parent e47b251c14
commit 3ec0d168eb

View file

@ -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 {