FekketCantenel / ist

A single-page app that reads one's Todoist task list and displays the next highest-priority task by context.
https://ist.never-ends.net/
The Unlicense
2 stars 0 forks source link

projects list fails to load after midnight #69

Closed FekketCantenel closed 1 year ago

FekketCantenel commented 2 years ago

In the ~30 minutes after a change to midnight, the project list load crashes at 'getting and building stats...'. This is most likely because Todoist returns nothing and the code using moment.js to check if the returned records are from today can't handle an empty array.