rez_core 2.2.219 → 2.2.220

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "2.2.219",
3
+ "version": "2.2.220",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -87,6 +87,6 @@ export class OrganizationData {
87
87
  @Column({ name: 'wbs_code', nullable: true })
88
88
  wbs_code: string;
89
89
 
90
- @Column({ name: 'subdomain', nullable: true })
91
- subdomain: string;
90
+ @Column({ name: 'slug', nullable: true })
91
+ slug: string;
92
92
  }
@@ -20,7 +20,7 @@ export class OrganizationRepository {
20
20
  subdomain: string,
21
21
  ): Promise<OrganizationData | null> {
22
22
  return await this.organizationRepository.findOne({
23
- where: { subdomain },
23
+ where: { slug: subdomain },
24
24
  });
25
25
  }
26
26
  }
@@ -72,4 +72,7 @@ export class EntityMaster extends BaseEntity {
72
72
 
73
73
  @Column({ name: 'data_source', nullable: true })
74
74
  data_source: string;
75
+
76
+ @Column({ name: 'show_workflow', nullable: true })
77
+ show_workflow: boolean;
75
78
  }
@@ -186,7 +186,7 @@ export class LoginService {
186
186
  );
187
187
  let slug: string;
188
188
  if (org) {
189
- slug = org.subdomain;
189
+ slug = org.slug;
190
190
  } else {
191
191
  throw new BadRequestException();
192
192
  }