             [slingshot.slingshot :refer :all]
             [net.cgrand.enlive-html :as html]
             [markdown.core :as md]
+            [salava.badge.png :as p]
             [salava.core.util :refer [hex-digest str->epoch http-get]]))
 
 

        (assoc-in [:badge :image] (badge-image input))
        (assoc-in [:badge :issuer] issuer))))





;;;

(defmulti assertion-map (fn [input]

    (with-meta (assertion-map asr) {:image (slurp (:tempfile upload))})))

(defmethod baked-image :default [_]
  (log/error "unsupported badge file:" (:content-type _))
  (throw (Exception. "badge/Invalidfiletype")))
