Skip to content

Commit f393d5a

Browse files
durrandariakp
andauthored
Update test/integration/node-specific/examples/aws_handler.js
Co-authored-by: Daria Pardue <[email protected]>
1 parent c963108 commit f393d5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/node-specific/examples/aws_handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// begin lambda connection
22
const { MongoClient } = require('mongodb');
33

4-
// Get the URI for the cluster and then uses AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
4+
// Get the URI for the cluster and use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
55
// from the environment, then set the appropriate auth options. Note that MongoClient
66
// now auto-connects so no need to store the connect() promise anywhere and reference it.
77
const client = new MongoClient(process.env.MONGODB_URI, {

0 commit comments

Comments
 (0)