mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
Return 200 on action
This commit is contained in:
parent
84f0afb6d8
commit
8bd224affe
@ -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