1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-24 13:31:21 +00:00

fix safeConnect

This commit is contained in:
Andrew Molchanov 2021-07-21 01:53:17 +03:00 committed by GitHub
parent cd10b3dc3e
commit c3c1f85ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
}
});
};