Skip to content

Refactor req.eventDetails parsing of GitHub web hook payload #7

@Ryanmtate

Description

@Ryanmtate

Certain GitHub webhook events do not use the payload['action'] key for determining the sub action of the event. E.g.: https://github.com/git-token/reward-values/blob/11261646463b091b87da52beae46ba365e1a13bf/src/rewardValues.js#L9

Therefore, the eventDetails needs further control flow for parsing the different types of events.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions