refactor(api): remove needless parenthesis
Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
parent
5dc854c75e
commit
0db7ae872f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue