Macro todo, indent, syncing
This commit is contained in:
parent
987a01906e
commit
9ac02e47f9
2 changed files with 8 additions and 5 deletions
|
@ -160,6 +160,7 @@
|
||||||
(throw (ex-info "404" {:status 404
|
(throw (ex-info "404" {:status 404
|
||||||
:header {"Content-Type" "text/plain"}
|
:header {"Content-Type" "text/plain"}
|
||||||
:body (str "404 This server has nothing but " served-filename)})))
|
:body (str "404 This server has nothing but " served-filename)})))
|
||||||
|
;; BUG: This also keeps hapening when board cache is nil
|
||||||
(when-not (contains? @boards-enabled-cache board)
|
(when-not (contains? @boards-enabled-cache board)
|
||||||
(throw (ex-info "403" {:status 403
|
(throw (ex-info "403" {:status 403
|
||||||
:header {"Content-Type" "text/plain"}
|
:header {"Content-Type" "text/plain"}
|
||||||
|
|
|
@ -54,6 +54,8 @@
|
||||||
v
|
v
|
||||||
[v]))
|
[v]))
|
||||||
|
|
||||||
|
;; TODO: Macro that will update all keys with specified function
|
||||||
|
|
||||||
;; ===== Generic functions ====
|
;; ===== Generic functions ====
|
||||||
|
|
||||||
(defn indices
|
(defn indices
|
||||||
|
|
Loading…
Reference in a new issue