1
0
forked from baron/baron-sso

Slug 오류 수정

This commit is contained in:
2026-02-23 15:53:29 +09:00
parent 73b0453ad4
commit 04938d7cd9

View File

@@ -185,7 +185,7 @@ func (s *orgChartService) ensureOrgPath(ctx context.Context, rootTenantID string
Type: domain.TenantTypeUserGroup,
ParentID: &currentParentID,
Name: part,
Slug: "ug-" + unitID[:8],
Slug: fmt.Sprintf("ug-%s", unitID[:8]),
Status: domain.TenantStatusActive,
}
if err := s.tenantRepo.Create(ctx, newTenant); err != nil {