Skip to content

Commit

Permalink
Update src/mqttManager.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
neilenns authored Feb 1, 2024
1 parent 9d9a34d commit 699f2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqttManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function publish(topic: string, data: string, retain?: boolean): Pr
}

logger.debug(`Publishing ${data} to ${topic} with retain: ${retain}`, { data, topic, retain });
return client.publish(topic, data, { retain: retain });
return client.publish(topic, data, { retain });
}

/**
Expand Down

0 comments on commit 699f2b7

Please sign in to comment.