We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0378460 commit 2614549Copy full SHA for 2614549
backend/src/DataSource/MqttSource.ts
@@ -44,8 +44,9 @@ export class MqttSource implements DataSource<MqttOptions> {
44
username: options.username,
45
password: options.password,
46
clientId: options.clientId,
47
+ servername: options.tls ? url.host : undefined,
48
ca: options.certificateAuthority ? Buffer.from(options.certificateAuthority, 'base64') : undefined,
- })
49
+ } as any)
50
51
this.client = client
52
0 commit comments