diff --git a/util/helpers.go b/util/helpers.go index 3e3aea8..fc306d6 100644 --- a/util/helpers.go +++ b/util/helpers.go @@ -89,10 +89,6 @@ func newExtractor(r *http.Request) ([]string, error) { return nil, err } - if len(jsonBody) == 0 { - return nil, fmt.Errorf("empty JSON object") - } - for _, val := range jsonBody { s, ok := val.(string) if !ok {