From 8ba6552132fab6daef1f2b10adf932c87947e2ec Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Sun, 13 Mar 2022 14:31:12 -0500 Subject: can run the edit command on drafts with --redraft --- lib/client.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/client.lisp b/lib/client.lisp index 6883b20..233cc42 100644 --- a/lib/client.lisp +++ b/lib/client.lisp @@ -188,7 +188,7 @@ running the body. If such a oneliner can be found." ;; otherwise, format the oneliner as json and make a request ;; to create a new oneliner in the wiki (api:request-with - (:body (oneliner-to-json local) + (:body (oneliner-to-json-body local) :content-type "application/json") (api:post--oneliner :token (api-token)) ;TODO: update api to return the instance created. (format t "Added Oneliner~%")))))) -- cgit v1.2.3