fix missing pren in create.clj
This commit is contained in:
parent
3274d3a90d
commit
b099d9b18d
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue