cronofy / cronofy-node

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

Allow config via data_center as well as dataCenter #75

Closed Nevett closed 3 years ago

Nevett commented 3 years ago

There's a discrepancy with the current docs with respect to configuring the data center.

data_center is what we document, as well as being in keeping with the style of the other property names. However the implementation uses dataCenter currently, so this maintains support for that, while fixing the documented property name.