Fix incorrect number of args

This commit is contained in:
Felisp 2024-09-24 02:03:53 +02:00
parent 64a0f88ac4
commit 55ca8f0d47

View file

@ -113,8 +113,7 @@
:description "RSS based thread watcher"}
body (map #(thread-to-rss-item
%1
(get board-config :host)
(get board-config :name)) items)]
(get board-config :host)) items)]
(rss/channel-xml head body)))
(defn http-handler
@ -172,6 +171,7 @@
"Exmple: '" served-filename "?q=pony&q=IWTCIRD' will show in your feed all threads with 'pony' or 'IWTCIRD'"
" in their title that are about to die.")})))
;; Whether cache has been generated yet
(when (empty? cache)
(throw (ex-info "503" {:status 503
:header {"Content-Type" "text/plain"}