rez_core 5.0.27 → 5.0.28
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.
|
@@ -24,11 +24,7 @@ let EntityModificationService = class EntityModificationService extends entity_s
|
|
|
24
24
|
if (!mapped_entity_type || !mapped_entity_id || !attribute_key) {
|
|
25
25
|
throw new common_1.BadRequestException('Missing required modification data: mapped_entity_type, mapped_entity_id, or attribute_key');
|
|
26
26
|
}
|
|
27
|
-
const
|
|
28
|
-
SELECT db_table_name
|
|
29
|
-
FROM frm_entity_master
|
|
30
|
-
WHERE mapped_entity_type = $1 AND organization_id = $2
|
|
31
|
-
`, [mapped_entity_type, organization_id]);
|
|
27
|
+
const entityMeta = await this.entityMasterService.getEntityData(mapped_entity_type, loggedInUser);
|
|
32
28
|
if (!entityMeta || !entityMeta.db_table_name) {
|
|
33
29
|
throw new common_1.NotFoundException('Entity metadata not found in frm_entity_master');
|
|
34
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-modification.service.js","sourceRoot":"","sources":["../../../../src/module/workflow/service/entity-modification.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAIwB;AACxB,gGAAwF;AAExF,qCAAqC;
|
|
1
|
+
{"version":3,"file":"entity-modification.service.js","sourceRoot":"","sources":["../../../../src/module/workflow/service/entity-modification.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAIwB;AACxB,gGAAwF;AAExF,qCAAqC;AAI9B,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,+CAAiB;IAC9D,YAA6B,UAAsB;QAEjD,KAAK,EAAE,CAAC;QAFmB,eAAU,GAAV,UAAU,CAAY;IAGnD,CAAC;IACD,KAAK,CAAC,eAAe,CAAC,gBAAqB,EAAE,YAAsB;QACjE,MAAM,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAC3D,gBAAgB,CAAC;QACnB,MAAM,EAAE,eAA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