Skip to content

Commit

Permalink
fix: MongoConnectionOptions sslCA type mismatch (#8628)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRosenau committed Feb 14, 2022
1 parent 72c9685 commit 02400da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/mongodb/MongoConnectionOptions.ts
Expand Up @@ -73,7 +73,7 @@ export interface MongoConnectionOptions extends BaseConnectionOptions {
* Array of valid certificates either as Buffers or Strings
* (needs to have a mongod server with ssl support, 2.4 or higher).
*/
readonly sslCA?: string[]|Buffer[];
readonly sslCA?: string|Buffer;

/**
* String or buffer containing the certificate we wish to present
Expand Down

0 comments on commit 02400da

Please sign in to comment.