rez_core 4.0.211 → 4.0.213
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/package.json
CHANGED
|
@@ -559,9 +559,9 @@ export class EntityDynamicService {
|
|
|
559
559
|
);
|
|
560
560
|
|
|
561
561
|
const columns = validAttributes
|
|
562
|
-
.map((attr) =>
|
|
562
|
+
.map((attr) => attr.attribute_key)
|
|
563
563
|
.join(', ');
|
|
564
|
-
const selectQuery = `SELECT ${columns} FROM
|
|
564
|
+
const selectQuery = `SELECT ${columns} FROM ${dataSource} WHERE id = $1`;
|
|
565
565
|
|
|
566
566
|
const result = await this.dataSource.query(selectQuery, [id]);
|
|
567
567
|
if (!result.length) return null;
|