We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69aaaf commit a7d1541Copy full SHA for a7d1541
packages/accounts-mongo/README.md
@@ -34,7 +34,8 @@ const db = await mongodb.MongoClient.connect(process.env.MONGO_URL);
34
const client = await mongodb.MongoClient.connect(process.env.MONGO_URL);
35
const db = client.db('my-db-name');
36
37
-const accountsServer = new AccountsServer({ db: new MongoDBInterface(db) });
+const accountsMongo = new Mongo(db, options);
38
+const accountsServer = new AccountsServer({ db: accountsMongo });
39
```
40
41
The users will be saved under the `users` collection.
packages/accounts-mongo/package.json
@@ -59,7 +59,6 @@
59
"coveralls": "3.0.0",
60
"husky": "0.14.3",
61
"jest": "22.4.2",
62
- "jest": "21.2.1",
63
"prettier": "1.11.1",
64
"pretty-quick": "1.4.1",
65
"ts-jest": "22.4.1",
0 commit comments