We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c963108 commit f393d5aCopy full SHA for f393d5a
1 file changed
test/integration/node-specific/examples/aws_handler.js
@@ -1,7 +1,7 @@
1
// begin lambda connection
2
const { MongoClient } = require('mongodb');
3
4
-// Get the URI for the cluster and then uses AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
+// Get the URI for the cluster and use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
5
// from the environment, then set the appropriate auth options. Note that MongoClient
6
// now auto-connects so no need to store the connect() promise anywhere and reference it.
7
const client = new MongoClient(process.env.MONGODB_URI, {
0 commit comments