Skip to content

Commit

Permalink
fix(auth): Due to an upgrade of OVH and the managed Mongo Service
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed May 29, 2024
1 parent 0fee344 commit 3213728
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 3213728

Please sign in to comment.