Update the handler to get a article's row briefly.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user