connect2mongo
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "connect2mongo", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A library to help you connect to mongodb", | ||
@@ -5,0 +5,0 @@ "main": "db.js", |
@@ -13,3 +13,3 @@ var BPromise = require('bluebird'); | ||
return new BPromise(function (resolve, reject) { | ||
db.authenticate(username, password, options, function (err, result) { | ||
database.authenticate(username, password, options, function (err, result) { | ||
if (err) { | ||
@@ -16,0 +16,0 @@ reject(err); |
21064