Fix Node to return 200 OK on webhook handler
This commit is contained in:
parent
ec6acce92b
commit
88d14a50d3
@ -45,6 +45,7 @@ app.post("/webhook", async (req, res) => {
|
||||
} catch (error) {
|
||||
console.error("Error validating webhook event", error);
|
||||
}
|
||||
res.status(200).send();
|
||||
});
|
||||
|
||||
app.listen(SERVER_PORT, () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user