refactor(issue edit): rename loop variable for clarity
This commit is contained in:
parent
35792827ad
commit
3bed77836a
1 changed files with 3 additions and 3 deletions
|
|
@ -704,9 +704,9 @@ func (m *RepoMetadataResult) MembersToIDs(names []string) ([]string, error) {
|
|||
}
|
||||
|
||||
// Look for ID in assignable actors if not found in assignable users
|
||||
for _, u := range m.AssignableActors {
|
||||
if strings.EqualFold(assigneeLogin, u.Login) {
|
||||
ids = append(ids, u.ID)
|
||||
for _, a := range m.AssignableActors {
|
||||
if strings.EqualFold(assigneeLogin, a.Login) {
|
||||
ids = append(ids, a.ID)
|
||||
found = true
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue