Skip to content

Commit

Permalink
Merge pull request #22 from mize85/patch-1
Browse files Browse the repository at this point in the history
remove unused options from cancel_task
  • Loading branch information
JeremyCraigMartinez authored Jul 13, 2016
2 parents 5cffdbd + 3163030 commit e5bc96b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/figo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1050,8 +1050,7 @@ var Session = function(access_token) {
// - **callback** (`Function`) - callback function with one parameter: `error`
//
this.cancel_task = function(task_token, callback) {
options.id = task_token.task_token;
this.query_api_object(this, models.TaskToken, "/task/cancel?id=" + task_token.task_token, options, "POST", null, callback);
this.query_api_object(this, models.TaskToken, "/task/cancel?id=" + task_token.task_token, null, "POST", null, callback);
};

// **start_process** - Begin process.
Expand Down

0 comments on commit e5bc96b

Please sign in to comment.