--- a/lists.go Fri Sep 07 19:17:12 2018 +0200
+++ b/lists.go Fri Sep 07 19:17:12 2018 +0200
@@ -100,7 +100,7 @@
if id < 1 {
return ErrInvalidID
}
- qID := fmt.Sprintf("account_ids[%d]", i)
+ qID := fmt.Sprintf("[%d]account_ids", i)
params[qID] = strconv.FormatInt(id, 10)
}
return mc.apiCall("v1/"+endPoint, method, params, nil, nil, nil)
@@ -115,7 +115,7 @@
if id < 1 {
return ErrInvalidID
}
- qID := fmt.Sprintf("account_ids[%d]", i)
+ qID := fmt.Sprintf("[%d]account_ids", i)
params[qID] = strconv.FormatInt(id, 10)
}
return mc.apiCall("v1/"+endPoint, method, params, nil, nil, nil)