Update the handler to get a article's row briefly.

main
KKlochko 1 year ago
parent 88a9eb7749
commit 782d66aed0

@ -155,7 +155,7 @@
id (.-id (.-params req))] id (.-id (.-params req))]
(go (go
(try (try
(let [article (<! (db/get-article client id channel))] (let [article (<! (db/get-article-briefly client id channel))]
(if (empty? article) (if (empty? article)
(do (do
(res/status 404) (res/status 404)

Loading…
Cancel
Save