Fix getMembershipForUserInOrg call (#10937)

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/10940/head
Derek Nola 2024-09-24 13:06:27 -07:00 committed by GitHub
parent 005711fad6
commit 6731f4a70d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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