Update
This commit is contained in:
parent
255120b398
commit
a89c6d1de1
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user