   ([request]
      (reply request {}))
   ([request opts]
-     (xxx)))
+     (reply-core)))
 

  (fn [opts]
    (twitter/lazy-web settings/oauth-credential opts)))

(defn- xxx[]
  (try
   (let [reply (lazy-web/run { :search-adapter-fn lazy-web-search })]
     (ok { "X-Timestamp" (str (:timestamp reply))} (:result reply)))
   (catch Exception e (err (str "caught exception: " (.getMessage e))))))


  (:require [clojure.data.json :as json]
            [layzee.adapters.twitter.search :refer :all :as twitter]
            [layzee.adapters.settings :as settings]
            [layzee.use-cases.lazy-web :as lazy-web]
            [layzee.adapters.twitter.replies :as replies]))

(def content-type-plain-text {"Content-Type" "text/plain"})
(def content-type-json {"Content-Type" "application/json"})
