Comparing version 0.2.7 to 0.2.8
@@ -162,9 +162,14 @@ "use strict"; | ||
try { | ||
return require("../../../orm-model-config").default; | ||
let model = require("../../../../orm-model-config"); | ||
return model.default; | ||
} | ||
catch (e) { | ||
console.log('omc-error', e); | ||
try { | ||
let model = require("../../../../orm-model-config.cjs"); | ||
return model; | ||
} | ||
catch (innerE) { } | ||
return sequelize_1.Model; | ||
} | ||
}; //SequelizeModel; | ||
}; | ||
/** | ||
@@ -171,0 +176,0 @@ * The [[Serializer]] that should be used for RESTful operations. |
{ | ||
"name": "pwoli", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
1389023
35722