fix for /get topic not being interpreted when topic is on field level

This commit is contained in:
john30
2018-02-03 15:27:12 +01:00
parent 2588951f68
commit daf771e6d3
+1 -1
View File
@@ -481,7 +481,7 @@ void MqttHandler::notifyTopic(const string& topic, const string& data) {
circuit = field;
} else if (fieldName == "name") {
name = field;
} else if (fieldName == "fields") {
} else if (fieldName == "field") {
// field = field; // TODO add support for writing a single field
} else {
return;