Fix minor eslint warnings
This commit is contained in:
parent
8917402888
commit
43a33c3ab3
7 changed files with 11 additions and 11 deletions
|
|
@ -49,7 +49,7 @@ export default function connectMqtt(
|
|||
}
|
||||
});
|
||||
return (topic: string, message: Buffer) => {
|
||||
client.publish(topic, message, null, (error) => {
|
||||
client.publish(topic, message, {}, (error) => {
|
||||
if (error == null && settings.onMessageSent != null) {
|
||||
settings.onMessageSent(topic, message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue