Skip to content

Commit 4eb58cb

Browse files
authored
Merge pull request #348 from appwrite/feat-add-appname
(feat): add app name to mongo atlas query
2 parents 7717e63 + bf7e308 commit 4eb58cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

node/query-mongo-atlas/src/mongo.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { MongoClient, ServerApiVersion } from 'mongodb';
55
*/
66
export async function getClient() {
77
const client = new MongoClient(process.env.MONGO_URI, {
8+
appName: 'devrel-integration-atlas-appwrite-node',
89
serverApi: {
910
version: ServerApiVersion.v1,
1011
strict: true,

0 commit comments

Comments
 (0)