Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook MemberEvent Type is Missing Changes Object #3154

Closed
tayosec opened this issue Apr 25, 2024 · 0 comments · Fixed by #3153
Closed

Webhook MemberEvent Type is Missing Changes Object #3154

tayosec opened this issue Apr 25, 2024 · 0 comments · Fixed by #3153

Comments

@tayosec
Copy link
Contributor

tayosec commented Apr 25, 2024

The Member event type referenced here contains a changes object which is not reflected in the current MemberEvent Struct.

Confirmed that the changes object does get included in incoming webhook events.

{
    "event": "member",
    "payload": {
        "action": "added",
        "member": { },
        "changes": {
            "permission": {
                "to": "write"
            },
            "role_name": {
                "to": "maintain"
            }
        },
        "repository": { },
            
        },
        "organization": { }
}

Opened a pull request to add the missing object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant