forked from baron/baron-sso
Slug 오류 수정
This commit is contained in:
@@ -185,7 +185,7 @@ func (s *orgChartService) ensureOrgPath(ctx context.Context, rootTenantID string
|
|||||||
Type: domain.TenantTypeUserGroup,
|
Type: domain.TenantTypeUserGroup,
|
||||||
ParentID: ¤tParentID,
|
ParentID: ¤tParentID,
|
||||||
Name: part,
|
Name: part,
|
||||||
Slug: "ug-" + unitID[:8],
|
Slug: fmt.Sprintf("ug-%s", unitID[:8]),
|
||||||
Status: domain.TenantStatusActive,
|
Status: domain.TenantStatusActive,
|
||||||
}
|
}
|
||||||
if err := s.tenantRepo.Create(ctx, newTenant); err != nil {
|
if err := s.tenantRepo.Create(ctx, newTenant); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user