Skip to content

Instantly share code, notes, and snippets.

Jean-Michel Hiver jhiver

Block or report user

Report or block jhiver

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:b37cd7bfd9f90b501fe1
Client.prototype.webhookValid = function webhookValid(params) {
if (!params) {
return false;
}
if (!params.payload) {
return false;
}
return Signer.verify(params.payload, this.config.appSecret);
};
You can’t perform that action at this time.