Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Mike Cao 2024-04-15 23:43:03 -07:00
commit 0ef62d004f

View file

@ -17,14 +17,9 @@ function getClient() {
const ssl: { ssl?: tls.ConnectionOptions | boolean; sasl?: SASLOptions | Mechanism } = const ssl: { ssl?: tls.ConnectionOptions | boolean; sasl?: SASLOptions | Mechanism } =
username && password username && password
? { ? {
ssl: { ssl: true,
checkServerIdentity: () => undefined,
ca: [process.env.CA_CERT],
key: process.env.CLIENT_KEY,
cert: process.env.CLIENT_CERT,
},
sasl: { sasl: {
mechanism: 'plain', mechanism: 'scram-sha-256',
username, username,
password, password,
}, },