Skip to content

Commit

Permalink
feat: users endpoints instead of orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev authored Jan 26, 2025
1 parent 53cbb1f commit e67e540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directory/get-partner-avatars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export async function getPartnerAvatars(ownerName: string): Promise<{ownerName:
try {
const orgResp: GitHubOrganization[] = await octokit.paginate({
method: "GET",
url: `/orgs/${ownerName}`
url: `/users/${ownerName}`
});

const org = orgResp.find((org) => org.login === ownerName);
Expand Down

0 comments on commit e67e540

Please sign in to comment.