From 41bb19660597a191782879545c4a7e1675dd993c Mon Sep 17 00:00:00 2001 From: Sujan Adhikari <109404840+Sujanadh@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:56:58 +0545 Subject: [PATCH] fix(frontend): remove trailing slash from activity endpoint (#1932) --- src/frontend/src/views/ProjectSubmissions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/views/ProjectSubmissions.tsx b/src/frontend/src/views/ProjectSubmissions.tsx index 172bb9489..7782e183d 100644 --- a/src/frontend/src/views/ProjectSubmissions.tsx +++ b/src/frontend/src/views/ProjectSubmissions.tsx @@ -53,7 +53,7 @@ const ProjectSubmissions = () => { useEffect(() => { dispatch( - MappedVsValidatedTaskService(`${import.meta.env.VITE_API_URL}/tasks/activity/?project_id=${projectId}&days=30`), + MappedVsValidatedTaskService(`${import.meta.env.VITE_API_URL}/tasks/activity?project_id=${projectId}&days=30`), ); }, []);