Skip to content

Commit

Permalink
Fix error with top parameter in getProjectContributors
Browse files Browse the repository at this point in the history
  • Loading branch information
jonulak committed Jan 2, 2025
1 parent 15135f0 commit 6104b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const getProjectContributors = async (
repo: string,
top: number = 4
): Promise<VWCContributor[]> => {
const topContributors = await getGithubRepoContributors(owner, repo, 4);
const topContributors = await getGithubRepoContributors(owner, repo, top);
const projectContributors = Promise.all(
topContributors.map(async (contributor) => {
const user = await octokit.rest.users.getByUsername({
Expand Down

0 comments on commit 6104b69

Please sign in to comment.