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