What happened?
The webhook documentation says that for discussion-comment, the category's node id is sent in the payload. However, this property appears to be missing from the Octokit type definition, so I've had to resort to casting webhook responses as DiscussionCommentCreatedEvent & { discussion: { category: { node_id: string } } }.
Versions
@octokit/webhooks-types version 6.10.0, but it's still unfixed in the main branch
Relevant log output
No response
Code of Conduct
What happened?
The webhook documentation says that for
discussion-comment, the category's node id is sent in the payload. However, this property appears to be missing from the Octokit type definition, so I've had to resort to casting webhook responses asDiscussionCommentCreatedEvent & { discussion: { category: { node_id: string } } }.Versions
@octokit/webhooks-typesversion6.10.0, but it's still unfixed in the main branchRelevant log output
No response
Code of Conduct