refactor(issue edit): rename loop variable for clarity

This commit is contained in:
Kynan Ware 2025-05-13 07:11:24 -06:00
parent 35792827ad
commit 3bed77836a

View file

@ -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
}