|
|
|
@ -240,7 +240,7 @@ function mute(monitorId, options, callback){ |
|
|
|
} else { |
|
|
|
params.body = ""; // create empty body
|
|
|
|
} |
|
|
|
client.request("POST", util.format("/monitor/%s/mute"), params, callback); |
|
|
|
client.request("POST", util.format("/monitor/%s/mute", monitorId), params, callback); |
|
|
|
} |
|
|
|
|
|
|
|
/*section: monitor |
|
|
|
@ -293,16 +293,8 @@ function unmute(monitorId, scope, callback){ |
|
|
|
params.body = { |
|
|
|
scope: scope |
|
|
|
}; |
|
|
|
<<<<<<< HEAD |
|
|
|
<<<<<<< HEAD |
|
|
|
======= |
|
|
|
} else { |
|
|
|
params.body = ""; // create empty body
|
|
|
|
>>>>>>> 5243bf7... add params.body default to client.prototype.request |
|
|
|
======= |
|
|
|
} else { |
|
|
|
params.body = ""; |
|
|
|
>>>>>>> 4818053... add params.body default to mute() and unmute() |
|
|
|
} |
|
|
|
client.request("POST", util.format("/monitor/%s/unmute", monitorId), params, callback); |
|
|
|
} |
|
|
|
|