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

Fix github-webhook example #140

Open
wants to merge 2 commits into
base: master
from
Open

Conversation

@maikokuppe
Copy link

@maikokuppe maikokuppe commented Apr 19, 2017

The signature calculation and the logging was not correctly implemented. Take a look at the commits for details.

maikokuppe added 2 commits Apr 19, 2017
Applying JSON.stringify to the raw event body does not work (It is not even a JS object).
The event action was not being logged properly. `event.body` is a string and therefore `event.body.action` is always undefined.
@maikokuppe maikokuppe changed the title Calculate github-webhook sig from raw event body Fix github-webhook example Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.