diff --git a/http/handler.go b/http/handler.go index 92f374e84..59a3c3162 100644 --- a/http/handler.go +++ b/http/handler.go @@ -2721,10 +2721,6 @@ func (h *Handler) handlePostImport(w http.ResponseWriter, r *http.Request) { qcx := h.api.Txf().NewQcx() defer qcx.Abort() - if len(req.Values) == 0 { - return - } - if err := h.api.ImportValue(r.Context(), qcx, req, opts...); err != nil { switch errors.Cause(err) { case pilosa.ErrClusterDoesNotOwnShard, pilosa.ErrPreconditionFailed: