q-koa 13.2.2 → 13.2.3

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.
Files changed (2) hide show
  1. package/core/app.js +2 -4
  2. package/package.json +1 -1
package/core/app.js CHANGED
@@ -649,10 +649,8 @@ class APP {
649
649
  ...this.app[appName].attributes,
650
650
  [folder]: _attributes,
651
651
  }
652
- const indexes = _.get(
653
- this.app[appName].config[folder],
654
- 'indexList',
655
- []
652
+ const indexes = _.cloneDeep(
653
+ _.get(this.app[appName].config[folder], 'indexList', [])
656
654
  )
657
655
 
658
656
  const instance = this.app[appName].sequelize.define(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.2.2",
3
+ "version": "13.2.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {