Skip to content

Commit

Permalink
fix: temporarily disable eventsub signature
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 committed Jan 25, 2022
1 parent bf9b81c commit d0dfd97
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions functions/src/eventsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,10 @@ export const eventsub = functions.https.onRequest(async (req, res) => {
`sha256=${signature}`
) {
console.error(new Error("failed to match signature"));
res.status(403).send();
return;
} else {
console.log("/eventsub", JSON.stringify(req.body));
// res.status(403).send();
// return;
}
console.log("/eventsub", JSON.stringify(req.body));

const status = req.body?.subscription?.status;
if (status === "webhook_callback_verification_pending") {
Expand Down

0 comments on commit d0dfd97

Please sign in to comment.