getWeeklyReportsForUser fixed

This commit is contained in:
al8763be 2024-03-20 20:24:56 +01:00
parent 91c9f50491
commit a9e515925e

View file

@ -16,8 +16,8 @@ function AllTimeReportsInProject(): JSX.Element {
const getWeeklyReports = async (): Promise<void> => {
const token = localStorage.getItem("accessToken") ?? "";
const response = await api.getWeeklyReportsForUser(
token,
projectName ?? "",
token,
);
console.log(response);
if (response.success) {