Update the admin panel to show brief contents.

main
KKlochko 1 year ago
parent 72b9e604ca
commit 5ce17d3aa8

@ -26,7 +26,7 @@
id (.-id (.-params req))] id (.-id (.-params req))]
(go (go
(try (try
(let [articles (<! (db/get-articles client channel))] (let [articles (<! (db/get-articles-briefly client channel))]
(res/status 200) (res/status 200)
(.render res "admin_panel" (.render res "admin_panel"
(-> {:articles articles} (-> {:articles articles}

Loading…
Cancel
Save