@ccci/micro-server 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87563,7 +87563,7 @@ class DatabaseConnector {
|
|
|
87563
87563
|
Logger.info("configPath: ", configPath);
|
|
87564
87564
|
import(configPath).then((configs) => {
|
|
87565
87565
|
Logger.info("configs :>> ", configs);
|
|
87566
|
-
const config = configs[env];
|
|
87566
|
+
const config = configs.default()[env];
|
|
87567
87567
|
Logger.info("config :>> ", config);
|
|
87568
87568
|
const connection = new Sequelize(config);
|
|
87569
87569
|
DatabaseConnector.connection = connection;
|