mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-29 12:24:52 +01:00
Return 200 on action
This commit is contained in:
parent
bb68885872
commit
393590ee74
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user