Skip to content

Commit

Permalink
Fix organization fetching (#13)
Browse files Browse the repository at this point in the history
This was fetching a static user id, not the actual id in the index.
  • Loading branch information
trond-snekvik authored Oct 13, 2023
1 parent bc5d4e9 commit b6c7a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-index-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function fetchOrgData({
orgIndex,
}: ParsedOrgFile): Promise<{ org: Organization; apps: Application[] }> {
try {
const userData = await octokit.users.getByUsername({ username: 'id' });
const userData = await octokit.users.getByUsername({ username: orgId });

const org: Organization = {
id: orgId,
Expand Down

0 comments on commit b6c7a92

Please sign in to comment.