add connection to db object

parent 1196ab09
......@@ -32,6 +32,8 @@ module.exports = function (uri) {
moduleExport(require('./file')(connection.gfs));
dbHelper.connection = connection;
return dbHelper;
});
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment