Comparing version 1.0.36 to 1.0.37
@@ -95,4 +95,4 @@ const MongoDB = require('mongodb'); | ||
var opt = builder.options; | ||
console.log(client.$database); | ||
client.db(client.$database).adminCommand( { listDatabases: 1 } ).callback(function(err, response) { | ||
console.log(client.db); | ||
client.db('admin').adminCommand( { listDatabases: 1 } ).callback(function(err, response) { | ||
client.close(); | ||
@@ -99,0 +99,0 @@ err && client.$opt.onerror && client.$opt.onerror(err, opt, builder); |
{ | ||
"name": "icorm", | ||
"version": "1.0.36", | ||
"version": "1.0.37", | ||
"description": "Database Management System", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
217864