File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> {
425
425
426
426
/** @see MongoOptions */
427
427
get options ( ) : Readonly < MongoOptions > {
428
- return Object . freeze ( { ... this [ kOptions ] } ) ;
428
+ return this [ kOptions ] ;
429
429
}
430
430
431
431
get serverApi ( ) : Readonly < ServerApi | undefined > {
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export class ClientSession extends TypedEventEmitter<ClientSessionEvents> {
174
174
this . sessionPool = sessionPool ;
175
175
this . hasEnded = false ;
176
176
this . clientOptions = clientOptions ;
177
- this . timeoutMS = options . defaultTimeoutMS ?? client . s . options ?. timeoutMS ;
177
+ this . timeoutMS = options . defaultTimeoutMS ?? client . options ?. timeoutMS ;
178
178
179
179
this . explicit = ! ! options . explicit ;
180
180
this [ kServerSession ] = this . explicit ? this . sessionPool . acquire ( ) : null ;
You can’t perform that action at this time.
0 commit comments