cronofy / cronofy-node

Node wrapper for the Cronofy API
https://docs.cronofy.com/developers
MIT License
49 stars 23 forks source link

createEvent is not working #4

Closed westy92 closed 8 years ago

westy92 commented 8 years ago

In createEvent, the wrapper is posting to https://api.cronofy.com/v1/calendars instead of https://api.cronofy.com/v1/calendars/__calendarId__/events, resulting in an error.

View the API docs at: https://www.cronofy.com/developers/api/#upsert-event

westy92 commented 8 years ago

I submitted a pull request: https://github.com/warbrett/node-cronofy/pull/5.

warbrett commented 8 years ago

Merged! Thanks for the help!

westy92 commented 8 years ago

You're welcome! What is the process for updating npm?

warbrett commented 8 years ago

Just published, sometimes their cache takes a bit but if you manually set your version to 1.04 in your package.json you should get it.

westy92 commented 8 years ago

Got it, thank you!