Update the admin panel to show brief contents.

This commit is contained in:
2024-04-10 21:42:27 +03:00
parent 72b9e604ca
commit 5ce17d3aa8
+1 -1
View File
@@ -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}