cronofy / cronofy-node

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

Small typo in documentation for refreshAccessToken() #8

Closed lafersousa closed 8 years ago

lafersousa commented 8 years ago

The documentation for refreshAccessToken() lists the options as follows:

Options Object client_id - Your client id. client_secret - Your client secret. grant_type - a string of "refresh_token". refresh_Token - The refresh token for the user.

However the refresh token must be passed in as refresh_token or the request will fail.

warbrett commented 8 years ago

Fixed, Thank you for catching/reporting this!

lafersousa commented 8 years ago

No problem! I'll be happy to provide any feedback as I work with the library, thanks for putting it together! So far it has been really helpful to getting integrated with Cronofy quickly.

One other quick thing on the typo, its also on the npm page ( https://www.npmjs.com/package/cronofy), which is actually where I first copied the code from.

On Sat, Dec 5, 2015 at 8:48 PM, Brett Warner notifications@github.com wrote:

Fixed, Thank you for catching/reporting this!

— Reply to this email directly or view it on GitHub https://github.com/warbrett/node-cronofy/issues/8#issuecomment-162265174 .