rez_core 2.1.20 → 2.1.22
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
|
@@ -31,7 +31,7 @@ export class SchoolRepository {
|
|
|
31
31
|
'org.id AS org_id',
|
|
32
32
|
'org.name AS org_name',
|
|
33
33
|
'org.address AS org_address',
|
|
34
|
-
'org.type AS
|
|
34
|
+
'org.type AS org_type',
|
|
35
35
|
|
|
36
36
|
// Full brand columns
|
|
37
37
|
'br.id AS brand_id',
|
|
@@ -72,7 +72,7 @@ export class SchoolRepository {
|
|
|
72
72
|
const result = {};
|
|
73
73
|
|
|
74
74
|
for (const row of data) {
|
|
75
|
-
const { org_id, org_name, org_address,
|
|
75
|
+
const { org_id, org_name, org_address, org_type: type, brand_id } = row;
|
|
76
76
|
|
|
77
77
|
// const {
|
|
78
78
|
// school_id,ol_
|
|
@@ -83,7 +83,7 @@ export class SchoolRepository {
|
|
|
83
83
|
org_id,
|
|
84
84
|
org_name,
|
|
85
85
|
org_address,
|
|
86
|
-
|
|
86
|
+
type,
|
|
87
87
|
brands: {},
|
|
88
88
|
};
|
|
89
89
|
}
|