This commit is contained in:
Max 2020-10-08 12:13:00 +01:00
parent 255120b398
commit a89c6d1de1

View File

@ -46,8 +46,11 @@ app.post('/setlight', async function (request, responce) {
})
.catch((err) => {
console.error(err)
responce.send({ success: false, error: "NETWORK" })
})
.then(() => {
responce.send({ success: true, error: false })
})
}
else {