@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 +1 -1
- package/package.json +1 -1
- package/src/dataAccess/entityManager.ts +1 -1
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,
|
|
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
|
@@ -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,
|
|
605
|
+
let updatedEntity = mapDbRowToEntity(model, updatedRow, true);
|
|
606
606
|
updatedEntity = Object.assign({}, entity, updatedEntity);
|
|
607
607
|
|
|
608
608
|
// save many-relation properties
|