Update the handler to get a article's row briefly.
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
id (.-id (.-params req))]
|
||||
(go
|
||||
(try
|
||||
(let [article (<! (db/get-article client id channel))]
|
||||
(let [article (<! (db/get-article-briefly client id channel))]
|
||||
(if (empty? article)
|
||||
(do
|
||||
(res/status 404)
|
||||
|
||||
Reference in New Issue
Block a user