diff --git a/lib/hooks/api/useContributorsByProject.ts b/lib/hooks/api/useContributorsByProject.ts index 34a2bdbc8d..18677a0214 100644 --- a/lib/hooks/api/useContributorsByProject.ts +++ b/lib/hooks/api/useContributorsByProject.ts @@ -5,7 +5,7 @@ import publicApiFetcher from "lib/utils/public-api-fetcher"; export const useContributorsByProject = (listId: string, range: number) => { const [repoId, setRepoId] = useState(null); const { data, error } = useSWR( - `lists/${listId}/stats/top-project-contributions-by-contributor?repoId=${repoId}&range=${range}`, + `lists/${listId}/stats/top-project-contributions-by-contributor?repo_id=${repoId}&range=${range}`, publicApiFetcher as Fetcher );