Update API method to get all weekly reports
This commit is contained in:
		
							parent
							
								
									520e2f74f0
								
							
						
					
					
						commit
						c0d36f8df1
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Davenludd
						Davenludd