@ruiapp/rapid-core 0.1.24 → 0.1.25

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 CHANGED
@@ -2171,7 +2171,7 @@ async function updateEntityById(server, dataAccessor, options, plugin) {
2171
2171
  if (Object.keys(row).length) {
2172
2172
  updatedRow = await dataAccessor.updateById(id, row);
2173
2173
  }
2174
- let updatedEntity = mapDbRowToEntity(model, updatedRow, false);
2174
+ let updatedEntity = mapDbRowToEntity(model, updatedRow, true);
2175
2175
  updatedEntity = Object.assign({}, entity, updatedEntity);
2176
2176
  // save many-relation properties
2177
2177
  for (const property of manyRelationPropertiesToUpdate) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruiapp/rapid-core",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -602,7 +602,7 @@ async function updateEntityById(
602
602
  if (Object.keys(row).length) {
603
603
  updatedRow = await dataAccessor.updateById(id, row);
604
604
  }
605
- let updatedEntity = mapDbRowToEntity(model, updatedRow, false);
605
+ let updatedEntity = mapDbRowToEntity(model, updatedRow, true);
606
606
  updatedEntity = Object.assign({}, entity, updatedEntity);
607
607
 
608
608
  // save many-relation properties