diff --git a/envelopes.go b/envelopes.go index 8b2d442..54f3f51 100644 --- a/envelopes.go +++ b/envelopes.go @@ -159,10 +159,6 @@ func (v *CountEnvelope) UnmarshalJSON(data []byte) error { } v.SubscriptionID = arr[1].Str - if len(arr) < 3 { - return fmt.Errorf("COUNT array must have at least 3 items") - } - var countResult struct { Count *int64 `json:"count"` }