                          (let [db (db/save-fiddle conn
                                                   (util/fiddle (:cljs fiddle)
                                                                (:html fiddle)
-                                                               (:css  fiddle)))] 
+                                                               (:css  fiddle)))]
                            {:status :save-success
                             :date (subs (->> db d/basis-t d/t->tx (d/entity db) :db/txInstant pr-str)
                                         7 36)

                       {:status :save-fail
                        :ns ns
                        :user username}))))
      
   ;; TODO: this can be done with nginx try_files
   (GET "/jscache/:version/:file"
     [version file]

    (catch Exception e
      [:exception (.getMessage e)])))

(defn as-of*
  "Get the db as of date or latest db if date is nil"
  [conn date]
  (let [db (d/db conn)]
