opsgenie-nodejs-sdk icon indicating copy to clipboard operation
opsgenie-nodejs-sdk copied to clipboard

heartbeat.ping appears to have extra parameter

Open curtiskunkle opened this issue 4 years ago • 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

curtiskunkle avatar Jul 07 '21 17:07 curtiskunkle