Skip to content

Commit 1f056d0

Browse files
committed
chore: remove last client.options usages
1 parent b0acff8 commit 1f056d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mongo_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> implements
484484

485485
/** @internal */
486486
get timeoutMS(): number | undefined {
487-
return this.options.timeoutMS;
487+
return this.s.options.timeoutMS;
488488
}
489489

490490
/**
@@ -693,7 +693,7 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> implements
693693

694694
// Default to db from connection string if not provided
695695
if (!dbName) {
696-
dbName = this.options.dbName;
696+
dbName = this.s.options.dbName;
697697
}
698698

699699
// Copy the options and add out internal override of the not shared flag

0 commit comments

Comments
 (0)