From 13065218551cd7ce8d51aa9101d94d06de01fb88 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 5 Oct 2024 14:02:33 +0200 Subject: [PATCH] fix: Confirm filtered messages with 204 --- host.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host.js b/host.js index 3bf0d69..ee5770b 100644 --- a/host.js +++ b/host.js @@ -61,11 +61,11 @@ export const hostPage = () => { app.post("/webhook", async (req, res) => { if (JSON.stringify(req.body).includes("No player-facing changes")) { - return; + return res.status(204).send(); } if (req.body.action != "published") { - return; + return res.status(204).send(); } const discordBody = convert(req.body);