tmp commit

This commit is contained in:
Liujian
2024-10-25 14:21:50 +08:00
parent b9c61f8b94
commit 95d87f7183
4 changed files with 12 additions and 14 deletions
+2 -2
View File
@@ -111,13 +111,13 @@ func (m *imlTeamModule) Create(ctx context.Context, input *team_dto.CreateTeam)
if err != nil {
return err
}
supperRole, err := m.roleService.GetSupperRole(ctx, role.GroupTeam)
superRole, err := m.roleService.GetSupperRole(ctx, role.GroupTeam)
if err != nil {
return err
}
return m.roleMemberService.Add(ctx, &role.AddMember{
Role: supperRole.Id,
Role: superRole.Id,
User: input.Master,
Target: role.TeamTarget(input.Id),
})