Skip to content

Commit e32c23b

Browse files
committed
chore: pass through useSystemCA
1 parent 8e9bb44 commit e32c23b

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

packages/compass-web/.depcheckrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ignores:
88
- '@types/chai-dom'
99
- '@types/react'
1010
- '@types/react-dom'
11-
- 'devtools-connect-original'
1211
# Used in electron-proxy through @ts-check, but depcheckrc can't detect it
1312
- '@types/express-http-proxy'
1413
# Used in webpack config as polyfills, depcheck can't detect that because of `/`

packages/connection-storage/src/compass-main-connection-storage.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ describe('ConnectionStorage', function () {
795795
oidc: {},
796796
fleOptions: { storeCredentials: false },
797797
lookup: () => ({} as any),
798+
useSystemCA: true,
798799
};
799800
await connectionStorage.save({
800801
connectionInfo: {

packages/data-service/src/connect-mongo-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export async function connectMongoClientDataService({
164164
productDocsLink: productDocsLink ?? 'https://www.mongodb.com/docs/compass/',
165165
monitorCommands: true,
166166
autoEncryption: connectionOptions.fleOptions?.autoEncryption,
167+
useSystemCA: connectionOptions.useSystemCA ?? true,
167168
...oidcOptions,
168169
};
169170

0 commit comments

Comments
 (0)