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 74f7498 commit 3a5f533Copy full SHA for 3a5f533
source/functions/mongodb/api/snippets/transactions.js
@@ -1,9 +1,9 @@
1
exports = function () {
2
const client = context.services.get("mongodb-atlas");
3
4
- db = client.db("exampleDatabase");
+ const db = client.db("exampleDatabase");
5
6
- accounts = db.collection("accounts");
+ const accounts = db.collection("accounts");
7
browniePointsTrades = db.collection("browniePointsTrades");
8
9
// create user accounts with initial balances
0 commit comments