Skip to content

Commit f52fdb0

Browse files
added project in api for statistics
1 parent d3597e3 commit f52fdb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/layouts/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const Home: React.FC = () => {
8080
const getDashboardData = async () => {
8181
setFetching(true);
8282
const { data } = await axios.get(
83-
`${process.env.REACT_APP_BASE_API_URL}/projects/${DEFAULT_PROJECT_NAME}/statistics`,
83+
`${process.env.REACT_APP_BASE_API_URL}/projects/${selectedProject}/statistics`,
8484
{
8585
headers: {
8686
Authorization: `bearer ${authToken}`,

0 commit comments

Comments
 (0)