From 55ca8f0d47d5095c620ad3dc394bca5878147152 Mon Sep 17 00:00:00 2001 From: Felisp Date: Tue, 24 Sep 2024 02:03:53 +0200 Subject: [PATCH] Fix incorrect number of args --- src/rss_thread_watch/feed_generator.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rss_thread_watch/feed_generator.clj b/src/rss_thread_watch/feed_generator.clj index 2094262..c9b340c 100644 --- a/src/rss_thread_watch/feed_generator.clj +++ b/src/rss_thread_watch/feed_generator.clj @@ -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"}