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))]
(go
(try
(let [articles (<! (db/get-articles client channel))]
(let [articles (<! (db/get-articles-briefly client channel))]
(res/status 200)
(.render res "admin_panel"
(-> {:articles articles}

Loading…
Cancel
Save