[back/fix] missing wrap json

This commit is contained in:
SouthFox 2023-09-11 10:50:21 +08:00
parent b052dc09fd
commit 2e010c8223

View file

@ -75,16 +75,15 @@
(if (empty? docs)
{:status 404
:headers (:content-type params)
:body {:content "Not Found"
:title "Not Found"}}
:body (wrap-json {:content "Not Found"
:title "Not Found"})}
(process-hu-post page params))))
(defn clean-answer-img
[content]
(let [docs (Jsoup/parse content)]
(clean-images docs)
(.toString docs))
)
(.toString docs)))
(defn build-api-hu-post
[request]