getWeeklyReportsForUser fixed
This commit is contained in:
parent
91c9f50491
commit
a9e515925e
1 changed files with 1 additions and 1 deletions
|
@ -16,8 +16,8 @@ function AllTimeReportsInProject(): JSX.Element {
|
||||||
const getWeeklyReports = async (): Promise<void> => {
|
const getWeeklyReports = async (): Promise<void> => {
|
||||||
const token = localStorage.getItem("accessToken") ?? "";
|
const token = localStorage.getItem("accessToken") ?? "";
|
||||||
const response = await api.getWeeklyReportsForUser(
|
const response = await api.getWeeklyReportsForUser(
|
||||||
token,
|
|
||||||
projectName ?? "",
|
projectName ?? "",
|
||||||
|
token,
|
||||||
);
|
);
|
||||||
console.log(response);
|
console.log(response);
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
|
|
Loading…
Reference in a new issue