fix missing pren in create.clj

This commit is contained in:
Travis Shears 2025-12-12 19:58:23 +01:00
parent 3274d3a90d
commit b099d9b18d
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469

View file

@ -10,7 +10,7 @@
(defn create-snippet [{:keys [title slug markdown tags]}]
(http/post (str (:backend-host config) "/api/snippet"))
{:headers {:content-type "application/json"}
:body (json/encode {:title title :slug slug :markdown markdown :tags tags})}))
:body (json/encode {:title title :slug slug :markdown markdown :tags tags})})
(defn run []
(let [title (utils/prompt-for "title")