kusold / todoist-habitrpg

One way sync from Todoist -> HabitRPG
120 stars 14 forks source link

Do not send "undefined" to HabitRPG #30

Open kusold opened 9 years ago

kusold commented 9 years ago

There is a bad issue ( See #23 ) involving having an undefined date_string.

Also, I have a task with an undefined id. In general I think it is a good idea not to send this value (or null) at all since it is not valid JSON.