Skip to content

Commit

Permalink
addToCart() bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitry committed Jan 20, 2016
1 parent 5116d3f commit 4379f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ client.prototype.addToCart = function(params, callback){
return callback("params is missing required modelId parameter");
}

this.post(this.url("/orders/cart/", params), null, callback);
this.post(this.url("/orders/cart/"), JSON.stringify(params), callback);
};

/**
Expand Down

0 comments on commit 4379f13

Please sign in to comment.