I'm of course using tt.task.complete(task) to complete a task, but unless I'm missing something there's no way to uncheck a task?
I'm guessing my best course of action is to change the task's status property back to 0 and delete its completedTime, completedUserId and commentCount properties? (Those are the only differences I can see between a completed and an uncompleted task. Is commentCount related at all?)
I feel like there must be an easier way that TickTick handles this that I haven't found yet. I am going to keep this issue open as being able to uncheck the task through a method would be helpful.
I'm of course using
tt.task.complete(task)
to complete a task, but unless I'm missing something there's no way to uncheck a task?I'm guessing my best course of action is to change the task's
status
property back to0
and delete itscompletedTime
,completedUserId
andcommentCount
properties? (Those are the only differences I can see between a completed and an uncompleted task. IscommentCount
related at all?)Thanks!