Fixies in API and component code
This commit is contained in:
parent
caa793d036
commit
8084f722b5
2 changed files with 10 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ function AllTimeReportsInProject(): JSX.Element {
|
|||
|
||||
const getWeeklyReports = async (): Promise<void> => {
|
||||
const token = localStorage.getItem("accessToken") ?? "";
|
||||
const response = await api.getWeeklyReportsForProject(
|
||||
const response = await api.getWeeklyReportsForUser(
|
||||
localStorage.getItem("username") ?? "",
|
||||
projectName ?? "",
|
||||
token,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue