diff --git a/lib/Database.js b/lib/Database.js index ff07fbd..2466ea3 100644 --- a/lib/Database.js +++ b/lib/Database.js @@ -35,7 +35,7 @@ Database.prototype.connect = function (cb) { "use strict"; - if (this.connection) return cb(null, this.connection); + if (this.connection) return cb(null, this); var $ = this;