Skip to content

Commit

Permalink
Update 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorin committed Sep 23, 2023
1 parent 44813bc commit bc38c23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion db/MongoDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ module.exports = class MongoDatabase extends Base {
}

async openConnection () {
this._client = await this.client.connect(this.getUri(true), this.settings.options);
const uri = this.getUri(true);
this._client = await this.client.connect(uri, this.settings.options);
return this._client.db();
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "areto",
"version": "3.6.0",
"version": "3.6.1",
"description": "Adaptive Node.js MVC Framework",
"author": {
"name": "Maxim Khorin",
Expand All @@ -22,7 +22,7 @@
"express": "~4.18.2",
"express-session": "~1.17.2",
"moment": "~2.29.4",
"mongodb": "~6.0.0",
"mongodb": "~6.1.0",
"mysql": "~2.18.1",
"path-to-regexp": "~6.2.0"
},
Expand Down

0 comments on commit bc38c23

Please sign in to comment.