aboutsummaryrefslogtreecommitdiff
path: root/lib/client.lisp
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-03-13 14:31:12 -0500
committerColin Okay <okay@toyful.space>2022-03-13 14:31:12 -0500
commit8ba6552132fab6daef1f2b10adf932c87947e2ec (patch)
treebcd5382723194eee9fb40c0def06778adf5a90ab /lib/client.lisp
parent5531288c433641d81d1359e0afa69f86d4bf5d07 (diff)
can run the edit command on drafts with --redraft
Diffstat (limited to 'lib/client.lisp')
-rw-r--r--lib/client.lisp2
1 files changed, 1 insertions, 1 deletions
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~%"))))))