Minor fix for #2530
This commit is contained in:
parent
739d5aa1d3
commit
ddf9fa06c7
2 changed files with 32 additions and 31 deletions
|
@ -105,8 +105,7 @@ func HandleOrgAssignment(ctx *Context, args ...bool) {
|
|||
if len(teamName) > 0 {
|
||||
teamExists := false
|
||||
for _, team := range org.Teams {
|
||||
|
||||
if strings.ToLower(team.Name) == strings.ToLower(teamName) {
|
||||
if team.LowerName == strings.ToLower(teamName) {
|
||||
teamExists = true
|
||||
ctx.Org.Team = team
|
||||
ctx.Org.IsTeamMember = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue