diff --git a/src/client-side-encryption/auto_encrypter.ts b/src/client-side-encryption/auto_encrypter.ts index f1231702a5..b8f664c6ae 100644 --- a/src/client-side-encryption/auto_encrypter.ts +++ b/src/client-side-encryption/auto_encrypter.ts @@ -392,7 +392,7 @@ export class AutoEncrypter { promoteLongs: false, proxyOptions: this._proxyOptions, tlsOptions: this._tlsOptions, - socketOptions: autoSelectSocketOptions(this._client.s.options + socketOptions: autoSelectSocketOptions(this._client.s.options) }); return deserialize(await stateMachine.execute(this, context), {