fix safeConnect
This commit is contained in:
parent
cd10b3dc3e
commit
c3c1f85ce1
|
@ -81,7 +81,7 @@ MongoDocumentStore.prototype.safeConnect = function (callback) {
|
|||
winston.error('error connecting to mongodb', { error: err });
|
||||
callback(err);
|
||||
} else {
|
||||
callback(undefined, client.db(this.connectionDBName));
|
||||
callback(undefined, client.db(this.connectionName));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user