Skip to content

Commit 10a26cd

Browse files
author
Anush Kamble
committed
fix: restore members variable removed during edit for JhaSourav07#2249
1 parent 47f9d68 commit 10a26cd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/github.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ export async function getOrgDashboardData(orgName: string, options: FetchOptions
747747
throw new Error('This endpoint is strictly for organizations.');
748748
if (membersOrError instanceof Error) throw membersOrError;
749749

750+
const members = membersOrError;
751+
750752
// Limit active members to first 60 to protect shared token rate limit
751753
const activeMembers = members.slice(0, 60);
752754

0 commit comments

Comments
 (0)