Fix the query for the brief article.

main
KKlochko 1 year ago
parent 84b37695a6
commit 0c3aa99918

@ -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)

Loading…
Cancel
Save