Ivan Asmer 5 years ago
parent
commit
3364dc3ee6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -1,4 +1,4 @@
-const ObjectID    = require("mongodb").ObjectID;
+const { MongoClient, ObjectID }  = require("mongodb");
 const {asynchronize, openPromise } = require('./asynchronize')
 
 const mm = db => {