Skip to content

Commit

Permalink
fix: prde-1918 Missing org when quering users for delegation exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
stevoland committed Jan 16, 2025
1 parent a3283f7 commit 901c726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/reviewRequestDelegation.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ module.exports = class ReviewRequestDelegation extends ErrorStash {
...params,
excludedTeamMemberIds: (
await Promise.all((params.excludedTeamMembers ?? [])
.map(username => getMemberIdFromUsername(this.org, username, this.github, this.log))))
.map(username => getMemberIdFromUsername(this.team.owner, username, this.github, this.log))))
.filter(Boolean)
}

Expand Down

0 comments on commit 901c726

Please sign in to comment.