about summary refs log tree commit diff
path: root/org-clubhouse.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-clubhouse.el')
-rw-r--r--org-clubhouse.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/org-clubhouse.el b/org-clubhouse.el
index c3f69f32e835..808ce7fd5f24 100644
--- a/org-clubhouse.el
+++ b/org-clubhouse.el
@@ -751,7 +751,7 @@ allows manually passing a clubhouse ID and list of org-element plists to write"
                   (listp attrs)))
   (org-clubhouse-request
    "PUT"
-   (format "stories/%d" story-id)
+   (format "stories/%d/tasks/%d" story-id task-id)
    :data
    (json-encode attrs)))
 
@@ -822,7 +822,7 @@ element."
         (org-clubhouse-update-task-internal
          story-id
          (string-to-number task-id)
-         :done done?)
+         :complete (if done? 't :json-false))
         (message "Successfully marked clubhouse task status as %s"
                  (if done? "complete" "incomplete")))))))