Skip to content
Snippets Groups Projects
Verified Commit 601ba6ef authored by Tuxilio's avatar Tuxilio
Browse files

Remove " at the beginngin and end of string in the module name

parent d898c07b
No related branches found
No related tags found
No related merge requests found
Pipeline #198116 passed
......@@ -69,7 +69,7 @@ function connectMqtt() {
console.log(topic, message);
if (topic === `${mqtt_topic}/config/name`) {
name = message;
name = message.substring(1, message.length - 1);
} else if (topic === `${mqtt_topic}/config/led_count`) {
led_colors.length = message;
} else if (topic === `${mqtt_topic}/config/functions`) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment