This commit is contained in:
parent
69d62cb50b
commit
95ffaeddc8
@ -54,9 +54,6 @@ fun Application.module(testing: Boolean = false) {
|
||||
is PartData.FormItem -> {
|
||||
if (part.name == "description") {
|
||||
println("Sending MQTT Message")
|
||||
try {
|
||||
|
||||
}
|
||||
val msgObj: MessageObject = gson.fromJson(part.value,MessageObject::class.java)
|
||||
mqttClient.publish("command/${msgObj.device_id}", message)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user