romgrk / node-todoist

nodejs implementation of todoist sync API
21 stars 12 forks source link

specifying project_id for a new task - number vs string? #10

Closed working-name closed 3 years ago

working-name commented 3 years ago

Hello there,

I just tried your API shell because I am trying to save time :) So thank you.

Problem is when I try to add an item and specify the project_id via a variable it somehow gets ignored. When I type it up manually (the actual digits), it goes to the right project id. Does the variable get truncated somewhere? Digits added? changed? 0s removed? switches from number type to string type? I can't figure out what is going on and have no clue how to debug.

Thanks

working-name commented 3 years ago

nvm, user error