Closed AdriVanHoudt closed 7 years ago
If you provide a next page option https://github.com/cronofy/cronofy-node/blob/master/src/index.js#L183 (which I get back from the api in a previous call) It will still prefix the provided path with the cronofy host here https://github.com/cronofy/cronofy-node/blob/master/src/index.js#L28
I think the easiest solution is to just see if the next page options starts with this.urls.api and then cut it off.
this.urls.api
If you provide a next page option https://github.com/cronofy/cronofy-node/blob/master/src/index.js#L183 (which I get back from the api in a previous call) It will still prefix the provided path with the cronofy host here https://github.com/cronofy/cronofy-node/blob/master/src/index.js#L28
I think the easiest solution is to just see if the next page options starts with
this.urls.api
and then cut it off.