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