@@ -75,7 +75,7 @@ export class Admin {
7575 */
7676 async command ( command : Document , options ?: RunCommandOptions ) : Promise < Document > {
7777 return executeOperation (
78- this . s . db . s . client ,
78+ this . s . db . client ,
7979 new RunCommandOperation ( this . s . db , command , { dbName : 'admin' , ...options } )
8080 ) ;
8181 }
@@ -138,7 +138,7 @@ export class Admin {
138138 : undefined ;
139139 const password = typeof passwordOrOptions === 'string' ? passwordOrOptions : undefined ;
140140 return executeOperation (
141- this . s . db . s . client ,
141+ this . s . db . client ,
142142 new AddUserOperation ( this . s . db , username , password , { dbName : 'admin' , ...options } )
143143 ) ;
144144 }
@@ -151,7 +151,7 @@ export class Admin {
151151 */
152152 async removeUser ( username : string , options ?: RemoveUserOptions ) : Promise < boolean > {
153153 return executeOperation (
154- this . s . db . s . client ,
154+ this . s . db . client ,
155155 new RemoveUserOperation ( this . s . db , username , { dbName : 'admin' , ...options } )
156156 ) ;
157157 }
@@ -167,7 +167,7 @@ export class Admin {
167167 options : ValidateCollectionOptions = { }
168168 ) : Promise < Document > {
169169 return executeOperation (
170- this . s . db . s . client ,
170+ this . s . db . client ,
171171 new ValidateCollectionOperation ( this , collectionName , options )
172172 ) ;
173173 }
@@ -178,7 +178,7 @@ export class Admin {
178178 * @param options - Optional settings for the command
179179 */
180180 async listDatabases ( options ?: ListDatabasesOptions ) : Promise < ListDatabasesResult > {
181- return executeOperation ( this . s . db . s . client , new ListDatabasesOperation ( this . s . db , options ) ) ;
181+ return executeOperation ( this . s . db . client , new ListDatabasesOperation ( this . s . db , options ) ) ;
182182 }
183183
184184 /**
0 commit comments