notifications.go
changeset 231 741291bb4772
parent 212 21d7dc38c0e4
child 238 1c0042e76902
--- a/notifications.go	Wed Sep 05 02:33:23 2018 +0200
+++ b/notifications.go	Wed Sep 05 02:33:23 2018 +0200
@@ -28,7 +28,7 @@
 	if len(excludeTypes) > 0 {
 		params = make(apiCallParams)
 		for i, eType := range excludeTypes {
-			qID := fmt.Sprintf("exclude_types[%d]", i+1)
+			qID := fmt.Sprintf("exclude_types[%d]", i)
 			params[qID] = eType
 		}
 	}