@tomei/sso 0.34.2 → 0.34.5

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": "@tomei/sso",
3
- "version": "0.34.2",
3
+ "version": "0.34.5",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -641,7 +641,7 @@ export class Group extends ObjectBase {
641
641
  return systemAccess;
642
642
  }
643
643
 
644
- public static async checkParentHierarchy(
644
+ public static async isGroupCodeInHierarchy(
645
645
  dbTransaction: any,
646
646
  GroupCode: string,
647
647
  ListGroupCode: string[] = [],
@@ -656,7 +656,7 @@ export class Group extends ObjectBase {
656
656
  if (group?.ParentGroupCode) {
657
657
  const isGroupCodeExist = ListGroupCode.includes(group.ParentGroupCode);
658
658
  if (!isGroupCodeExist) {
659
- await this.checkParentHierarchy(
659
+ await this.isGroupCodeInHierarchy(
660
660
  dbTransaction,
661
661
  group.ParentGroupCode,
662
662
  ListGroupCode,
@@ -1,4 +1,5 @@
1
1
  //export all files inside this folder
2
2
  export * from './interfaces';
3
3
  export * from './login-user';
4
+ export * from './user';
4
5
  export * from './user.repository';