refactor(api): remove needless parenthesis

Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
Kynan Ware 2025-05-15 09:09:36 -06:00
parent 5dc854c75e
commit 0db7ae872f

View file

@ -696,7 +696,7 @@ func (m *RepoMetadataResult) MembersToIDs(names []string) ([]string, error) {
for _, assigneeLogin := range names {
found := false
for _, u := range m.AssignableUsers {
if strings.EqualFold(assigneeLogin, (u.Login())) {
if strings.EqualFold(assigneeLogin, u.Login()) {
ids = append(ids, u.ID())
found = true
break