   (fn [{:keys [body]}]
     (response-to-transit (call-handler handler has-body body))))
 
-(def req-handlers {:action      (wrap-handler handle-action true)
-                   :query       (wrap-handler handle-query true)
-                   :not-found   (wrap-handler handle-not-found false)})
+(def req-handlers {:action      (wrap-handler handlers/action true)
+                   :query       (wrap-handler handlers/query true)
+                   :not-found   (wrap-handler handlers/not-found false)})
 
 (def routes ["/" {"action" {:post :action}
                   "query" {:post :query}

(ns om-next-e2e.core
  (:require
    [bidi.ring :refer [make-handler]]
    [cognitect.transit :as transit]
    [clojure.tools.logging :as log]

(defn parse-transit [data]
  (let [reader (transit/reader data :json)]
    (transit/read reader)))

(defn response-to-transit [{:keys [body headers] :as response}]
  (assoc response
