File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed 
packages/effect-mongodb/src Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,4 @@ export const dropCollection: {
8787const  isDb  =  ( x : unknown )  =>  x  instanceof  Db 
8888
8989const  errorSource  =  ( db : Db ,  functionName : string )  => 
90-   new  MongoError . DbErrorSource ( { 
91-     module : "Db" , 
92-     functionName, 
93-     db : db . databaseName 
94-   } ) 
90+   new  MongoError . DbErrorSource ( {  module : "Db" ,  functionName,  db : db . databaseName  } ) 
Original file line number Diff line number Diff line change @@ -50,8 +50,4 @@ export const db: {
5050const  isMongoClient  =  ( x : unknown )  =>  x  instanceof  MongoClient_ 
5151
5252const  errorSource  =  ( hosts : Array < string > ,  functionName : string )  => 
53-   new  MongoError . ClientErrorSource ( { 
54-     module : "MongoClient" , 
55-     functionName, 
56-     hosts
57-   } ) 
53+   new  MongoError . ClientErrorSource ( {  module : "MongoClient" ,  functionName,  hosts } ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments