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

FIelds are of wrong type in the OrganizationEvent webhook #37

Closed
TomMD opened this issue Oct 12, 2020 · 1 comment · Fixed by #38
Closed

FIelds are of wrong type in the OrganizationEvent webhook #37

TomMD opened this issue Oct 12, 2020 · 1 comment · Fixed by #38
Assignees
Labels

Comments

@TomMD
Copy link
Contributor

TomMD commented Oct 12, 2020

In both practice and documentation the Org Event type needs the invitation and membership fields to be optional. Read https://developer.github.com/webhooks/event-payloads/#organization

Currently these are not Maybe types so the parse of many org events fails (ex: delete a user from an org).

@kvanbere
Copy link
Member

Fixed by #38

@kvanbere kvanbere added the bug label Oct 14, 2020
@kvanbere kvanbere linked a pull request Oct 14, 2020 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants