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