Skip to content

Commit 574b6df

Browse files
author
Pedro Montiel
committed
INVS-278: Fix CSE match list
1 parent 793a43d commit 574b6df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sumologic/sumologic_cse_match_list_item.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ func (s *Client) GetCSEMatchListItem(id string) (*CSEMatchListItemGet, error) {
2525
}
2626

2727
func (s *Client) GetCSEMatchListItemsInMatchList(MatchListId string) (*CSEMatchListItemsInMatchListGet, error) {
28-
29-
data, _, err := s.Get(fmt.Sprintf("sec/v1/match-list-items?listIds[%s]", MatchListId))
28+
data, _, err := s.Get(fmt.Sprintf("sec/v1/match-list-items?listIds=%s", MatchListId))
3029
if err != nil {
3130
return nil, err
3231
}

0 commit comments

Comments
 (0)