                                   (map-indexed (fn [num elem]
                                                  (assoc elem :position (inc num)))))})))
 
+(defn webhook-page
+  [request]
+  (prn request)
+  (prn "PARAMS" (-> request :params))
+  {:status 200})
+
 (defon-response html-content-type
   [response]
   (ring-resp/content-type response "text/html"))

(defn- api-options
  []
  (merge {:filter "all" :all-pages true} (gh-auth)))

(defn- issue-filter
  [issue]

              [io.pedestal.service.interceptor :refer [defon-response]]
              [clostache.parser :refer [render-resource]]
              [tentacles.issues :refer [my-issues]]
              [tentacles.repos :refer [create-hook]]
              clojure.string
              [clojure.data.json :as json]
              [ring.util.response :as ring-resp]))

(def db (atom {}))
