@keltoi/hydra 2.5.0 → 2.5.1

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -571,7 +571,7 @@ class ChangeableRepository extends Repository$1{
571
571
  create = (entity = new Changeable())=>
572
572
  this.myContext()
573
573
  .insert({
574
- ...entity.$,
574
+ ...entity.data,
575
575
  active:true
576
576
  },
577
577
  Object.keys(entity.key)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keltoi/hydra",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Boilerplate to start your API from zero using Repository Pattern",
5
5
  "main": "index.js",
6
6
  "module": "index.js",