diff --git a/server.js b/server.js index 66a44e6..5fd46c3 100644 --- a/server.js +++ b/server.js @@ -157,7 +157,8 @@ app.post("/api/webhooks/notifications", async (req, res) => { } } - res.send('[accepted]'); + // acknowledge event has been consumed + res.status(202).send(); // Send a 202 response with an empty body });