Return 200 on action

This commit is contained in:
SebClem 2024-04-19 16:51:33 +02:00
parent bb68885872
commit 393590ee74
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;