protocol -> protocolId

This commit is contained in:
Skylar Grant 2024-11-28 16:06:24 -05:00
parent 6871b0d1c8
commit c1a3c61a8f

View File

@ -75,7 +75,7 @@ export class Communicator {
console.log(`Attempting MQTT connection to broker: ${config.mqtt.address}`);
this.client = mqtt.connect(config.mqtt.address, {
port: config.mqtt.port,
protocol: config.mqtt.protocol,
protocolId: config.mqtt.protocol,
username: config.mqtt.username,
password: config.mqtt.password
});