Return 200 on action

This commit is contained in:
SebClem 2024-04-19 16:51:33 +02:00
parent 84f0afb6d8
commit 8bd224affe
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -13,6 +13,8 @@ actionRouter.post("/backup", (req, res) => {
.catch((reason) => { .catch((reason) => {
logger.error("Something wrong !"); logger.error("Something wrong !");
}); });
res.statusCode = 200;
res.send();
}); });
export default actionRouter; export default actionRouter;