diff --git a/lib/database/index.js b/lib/database/index.js index 21600d5..528b9ba 100644 --- a/lib/database/index.js +++ b/lib/database/index.js @@ -2,7 +2,7 @@ class Database { - constructor(mongoose, uri, options) { + constructor(mongoose, uri, options = {}) { this._mongoose = mongoose; this._uri = uri; this._options = options;