oops
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-21 02:47:17 +02:00
parent 69d62cb50b
commit 95ffaeddc8
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -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)
}