h6y3 / todoist-ruby

An unofficial Todoist Ruby client that interfaces with the official Todoist API
MIT License
27 stars 9 forks source link

Fix Todoist::Misc::Items#add_item for passing extra params #12

Closed juliend2 closed 4 years ago

juliend2 commented 4 years ago

Hey, thanks for that gem!

I found this bug:

Extra params aren't sent when creating a item when using the misc add_item method.

Reason:

A variable was expected to be mutated but was not, hence the bug.

Thanks!

h6y3 commented 4 years ago

Great catch! Thank you very much for this and the PR!

I will work on the merge in the next few days and republish the gem.