forgotten save
This commit is contained in:
parent
e51f252010
commit
f079461997
@ -42,6 +42,9 @@ class MqttMongo {
|
|||||||
|
|
||||||
if (topic == "MqttMongo/Command" && message == "shutdown") {
|
if (topic == "MqttMongo/Command" && message == "shutdown") {
|
||||||
this.mqttClient.end()
|
this.mqttClient.end()
|
||||||
|
} else {
|
||||||
|
// verify JSON format of message
|
||||||
|
// insert into database
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user