Skip to content

Commit

Permalink
Merge 4379f13 into 5116d3f
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitry committed Jan 20, 2016
2 parents 5116d3f + 4379f13 commit 746dbc5
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 746dbc5

Please sign in to comment.