Fix the query for the brief article.

main
KKlochko 1 year ago
parent 84b37695a6
commit 0c3aa99918

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

Loading…
Cancel
Save