minor fix
This commit is contained in:
parent
e47b251c14
commit
3ec0d168eb
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue