opsgenie/opsgenie-nodejs-sdk

heartbeat.ping appears to have extra parameter

Opened this issue · 0 comments

Hello,

I noticed that the ping function in lib/heartbeat/Heartbeat.js takes 4 parameters and is passing 4 parameters to restApi.get. However, restApi.get appears to only accept 3 parameters. Should the data parameter be removed from the heartbeat ping function?

image

image