Patch du service MQTT pour supprimer la méthode de test (2)
This commit is contained in:
parent
60789f440c
commit
370968cb2b
@ -15,4 +15,4 @@ export function subscribeToTopic(topic, callback) {
|
|||||||
client.subscribe(topic)
|
client.subscribe(topic)
|
||||||
client.on('message', (receivedTopic, message) => { callback(receivedTopic.toString(), message.toString())
|
client.on('message', (receivedTopic, message) => { callback(receivedTopic.toString(), message.toString())
|
||||||
})
|
})
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user