Skip to content

Commit 21d0999

Browse files
committed
fix: 修复团队用户类型
1 parent fc9b100 commit 21d0999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/biz/team/repo/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (r *TeamGroupUserRepo) CreateUsers(ctx context.Context, teamID uuid.UUID, r
102102
SetEmail(emailAddr).
103103
SetStatus(consts.UserStatusActive).
104104
SetPassword("").
105-
SetRole(consts.UserRoleIndividual).
105+
SetRole(consts.UserRoleSubAccount).
106106
Save(ctx)
107107
if err != nil {
108108
r.logger.ErrorContext(ctx, "create user failed", "error", err, "email", emailAddr)

0 commit comments

Comments
 (0)