Skip to content

Commit

Permalink
fix: removed tls
Browse files Browse the repository at this point in the history
Signed-off-by: Jytesh <44925963+Jytesh@users.noreply.github.com>
  • Loading branch information
Jytesh committed Jul 29, 2021
1 parent 10b1f9a commit 81aafe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/mongo/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class KeyvMongo extends EventEmitter {
this.options.mongoOptions = Object.assign(
{
useNewUrlParser: true,
useUnifiedTopology: true,
tls: true
useUnifiedTopology: true
},
this.options.mongoOptions
)
Expand Down
6 changes: 2 additions & 4 deletions packages/mongo/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ test('Collection option merges into default options', t => {
url: 'mongodb://127.0.0.1:27017',
mongoOptions: {
useNewUrlParser: true,
useUnifiedTopology: true,
tls: true
useUnifiedTopology: true
},
collection: 'foo',
emitErrors: true
Expand All @@ -30,8 +29,7 @@ test('Collection option merges into default options if URL is passed', t => {
url: mongoURL,
mongoOptions: {
useNewUrlParser: true,
useUnifiedTopology: true,
tls: true
useUnifiedTopology: true
},
collection: 'foo',
emitErrors: true
Expand Down

0 comments on commit 81aafe1

Please sign in to comment.