Skip to content

Commit

Permalink
Fix getMembershipForUserInOrg call (k3s-io#10937)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola authored Sep 24, 2024
1 parent 005711f commit 6731f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
const team_slug = 'k3s-dev';
const username = context.payload.comment.user.login;
const { data: membership } = await github.teams.getMembershipForUserInOrg({
const { data: membership } = await github.rest.teams.getMembershipForUserInOrg({
org,
team_slug,
username
Expand Down

0 comments on commit 6731f4a

Please sign in to comment.