Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Jun 18, 2024
2 parents 94df5db + 389f2fa commit 3ca962b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/mongo.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import logger from './logger.service';

const { mongoDbName, mongoUri } = config.mongo;

const client = new MongoClient(mongoUri, { directConnection: true });
const client = new MongoClient(mongoUri);

logger.info(`Try to connect to mongo... ${mongoUri}`);
await client.connect().catch((e) => {
Expand Down

0 comments on commit 3ca962b

Please sign in to comment.