diff --git a/ebs/src/modules/config.ts b/ebs/src/modules/config.ts index 1e184a8..439d9d8 100644 --- a/ebs/src/modules/config.ts +++ b/ebs/src/modules/config.ts @@ -105,9 +105,9 @@ app.post("/webhook/refresh", asyncCatch(async (req, res) => { console.log("Refreshed config, new config version is ", activeConfig!.version); await broadcastConfigRefresh(activeConfig!); - res.sendStatus(200).send("Config refreshed."); + res.status(200).send("Config refreshed."); } else { - res.sendStatus(200).send("Config not refreshed."); + res.status(200).send("Config not refreshed."); } }));