   (if (seq result)
     {:status 200
      :headers {"Content-Type" (mt/format->mime-type :json)}
-     :body (contextualize-warnings result)}
+     :body result}
     {:status 200}))
 
 (defmethod generate-validate-response :xml

  (if (seq result)
   {:status 200
    :headers {"Content-Type" (mt/format->mime-type :xml)}
    :body (result-map->xml (contextualize-warnings result))}
   {:status 200}))

(defn- invalid-revision-id-error

    (acl/verify-ingest-management-permission request-context :update :provider-object provider-id)
    (info (format "Deleting collection %s from client %s"
                  (pr-str concept-attribs) (:client-id request-context)))
    (generate-ingest-response headers (contextualize-warnings (ingest/delete-concept request-context concept-attribs)))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Granule API Functions
