(in-package :murja.routes.rss-reader-routes)
;; This will be called by cron/curl
(defroute update-feeds-rotue ("/api/rss/update" :method :get
:decorators (@transaction)) ()
(settings:with-cache
(murja.rss.reader-db:update-feeds)
(setf (hunchentoot:return-code*) 204)
""))