Update API method to get all weekly reports
This commit is contained in:
parent
620073f688
commit
82e72432f6
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function AllTimeReportsInProject(): JSX.Element {
|
|||
useEffect(() => {
|
||||
const getWeeklyReports = async (): Promise<void> => {
|
||||
const token = localStorage.getItem("accessToken") ?? "";
|
||||
const response = await api.getWeeklyReportsForUser(
|
||||
const response = await api.getAllWeeklyReportsForUser(
|
||||
projectName ?? "",
|
||||
token,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue