DanCarlyon / opsgenie-sdk-revived

Reviving the opsgenie-sdk, Giving Node.js access to the OpsGenie Web API
2 stars 2 forks source link

getScheduleTimeline of scheduleV2 doesn't return Schedule Timeline #28

Open DanCarlyon opened 2 years ago

DanCarlyon commented 2 years ago

The getScheduleTimeline method isn't calling the correct endpoint

DanCarlyon commented 2 years ago

This appears to be a problem with the getPathWithIdentifier() method in lib/restApi.js

It's not adding the action path after the identifier

joshrichards37 commented 2 years ago

fixed in https://github.com/DanCarlyon/opsgenie-sdk-revived/pull/32