Skip to content

Commit

Permalink
Fix webhook response
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedal987 committed Jun 15, 2024
1 parent a8fa13c commit 47de213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ebs/src/modules/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
}));

Expand Down

0 comments on commit 47de213

Please sign in to comment.