fix: Correct clubhouse API for task status
- Use the right URL for updating tasks - Use the right key and value for marking task status
This commit is contained in:
parent
f657a4c7fa
commit
3ee1fcc71c
1 changed files with 2 additions and 2 deletions
|
@ -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")))))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue