From a9e515925ebaeebb0aea8a5ee3e39a85b40591b3 Mon Sep 17 00:00:00 2001 From: al8763be Date: Wed, 20 Mar 2024 20:24:56 +0100 Subject: [PATCH] getWeeklyReportsForUser fixed --- frontend/src/Components/AllTimeReportsInProject.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Components/AllTimeReportsInProject.tsx b/frontend/src/Components/AllTimeReportsInProject.tsx index 1a34e41..d05f92c 100644 --- a/frontend/src/Components/AllTimeReportsInProject.tsx +++ b/frontend/src/Components/AllTimeReportsInProject.tsx @@ -16,8 +16,8 @@ function AllTimeReportsInProject(): JSX.Element { const getWeeklyReports = async (): Promise => { const token = localStorage.getItem("accessToken") ?? ""; const response = await api.getWeeklyReportsForUser( - token, projectName ?? "", + token, ); console.log(response); if (response.success) {