Doist / todoist-api-typescript

A TypeScript wrapper for the Todoist REST API.
MIT License
74 stars 9 forks source link

ValidationError: duration is expected but was missing #248

Closed dubisdev closed 11 months ago

dubisdev commented 11 months ago

Bug description

Hi all,

I'm getting this error

image

I think is related to #246 . Maybe the changes hasn't been published in a new version? I'm using 3.0.0

Expected behaviour

Not breaking when doing a request with the getTask method.

Is reproducible

Yes/No

To reproduce

It's the same problem that was in #245, and that was fixed in #246. I think it just hasn't been published.

Steps taken to try to reproduce

Screenshots

Version information:

Additional information

scottlovegrove commented 11 months ago

v3.0.1 has been released which addresses this issue.