Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Deleted tasks don't sync #59

Open
ajfclark opened this issue Feb 2, 2017 · 2 comments
Open

Deleted tasks don't sync #59

ajfclark opened this issue Feb 2, 2017 · 2 comments

Comments

@ajfclark
Copy link

ajfclark commented Feb 2, 2017

Deleting a task in Todoist doesn't always sync to Habitica. This can leave stale dailies causing damage.

@ajfclark
Copy link
Author

ajfclark commented Feb 7, 2017

One instance where this seems to occur is if an item is created with a due date in the past. I created a task Test task yesterday and synced. I then deleted the item and synced again but the task remains in Habitica.

I added some debugging to the script and habit.deleteTask method is called, but it doesn't seem to work?

@ajfclark
Copy link
Author

ajfclark commented Feb 7, 2017

Noticed that the habitapi creation call used by the deletion routine uses a null URL which probably returns 404s.

Updating the call to use the explicit API URL seems to resolve this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant