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

This commit is contained in:
2024-04-19 09:53:09 +03:00
parent 88a9eb7749
commit 782d66aed0
+1 -1
View File
@@ -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)