From 3e25ac882c518b64811423d4f7126d5b1be25eaf Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 24 Sep 2024 12:27:07 -0700 Subject: [PATCH] Fix getMembershipForUserInOrg call Signed-off-by: Derek Nola --- .github/workflows/trivy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 849a79d6cd9c..20ba3b3ef4b5 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -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