xpress-mongo
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "xpress-mongo", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,3 +28,7 @@ const GenerateModel = require('./XMongoModel'); | ||
this.state = STATES.connected; | ||
successCallback(this); | ||
// Call success fallback. | ||
if (typeof successCallback === 'function') | ||
successCallback(this); | ||
}).catch((err) => { | ||
@@ -31,0 +35,0 @@ this.state = STATES.disconnected; |
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
27401
881