Browse Source

fix issues with missing params variable

pull/17/head
Brett Langdon 11 years ago
parent
commit
2eae40e40f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lib/api/timeboard.js

+ 3
- 3
lib/api/timeboard.js View File

@ -166,7 +166,7 @@ function update(dashId, title, description, graphs, templateVariables, callback)
* ```
*/
function remove(dashId, callback){
client.request("DELETE", util.format("/dash/%s", dashId), params, callback);
client.request("DELETE", util.format("/dash/%s", dashId), {}, callback);
}
/*section: timeboard
@ -187,7 +187,7 @@ function remove(dashId, callback){
* ```
*/
function getAll(callback){
client.request("GET", "/dash", params, callback);
client.request("GET", "/dash", {}, callback);
}
/*section: timeboard
@ -209,7 +209,7 @@ function getAll(callback){
* ```
*/
function get(dashId, callback){
client.request("GET", util.format("/dash/%s", dashId), params, callback);
client.request("GET", util.format("/dash/%s", dashId), {}, callback);
}
module.exports = {


Loading…
Cancel
Save