Fix Node to return 200 OK on webhook handler

This commit is contained in:
pabloFuente 2024-05-14 19:10:06 +02:00
parent ec6acce92b
commit 88d14a50d3

View File

@ -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, () => {