mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 03:21:21 +00:00
fix safeConnect
This commit is contained in:
parent
cd10b3dc3e
commit
c3c1f85ce1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue