Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratap2018 committed Jan 18, 2024
1 parent 1b31504 commit d6dbd44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user-vault/providers/databaseProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export const UserVaultProviders = [
throw new Error('No DB_URL set in env');
}

const uri = `${BASE_DB_PATH}/${tenantDB}?retryWrites=true&w=majority`;

const uri = `${BASE_DB_PATH}/${tenantDB}${process.env.DB_CONFIG}`;
Logger.log(uri, 'tenant-mongoose-connections');
Logger.log(
'Before creating new db connection...',
'tenant-mongoose-connections',
Expand Down

0 comments on commit d6dbd44

Please sign in to comment.