Fix the query for the brief article.
This commit is contained in:
@@ -83,7 +83,7 @@
|
|||||||
(str "select id, title,"
|
(str "select id, title,"
|
||||||
"substr(content, 0, 60) content,"
|
"substr(content, 0, 60) content,"
|
||||||
"length(content) content_length,"
|
"length(content) content_length,"
|
||||||
"created from articles"
|
"created from articles "
|
||||||
"where id=$1")
|
"where id=$1")
|
||||||
(clj->js [id])))]
|
(clj->js [id])))]
|
||||||
(>! channel (-> (.-rows res)
|
(>! channel (-> (.-rows res)
|
||||||
|
|||||||
Reference in New Issue
Block a user