summaryrefslogtreecommitdiff
path: root/StoneIsland/www
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www')
-rw-r--r--StoneIsland/www/js/sdk/cart.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/StoneIsland/www/js/sdk/cart.js b/StoneIsland/www/js/sdk/cart.js
index 26540f59..a532d5eb 100644
--- a/StoneIsland/www/js/sdk/cart.js
+++ b/StoneIsland/www/js/sdk/cart.js
@@ -27,7 +27,7 @@ sdk.cart = (function(){
cart.set_user = function(opt){
return $.ajax({
method: "PUT",
- url: sdk.path("Cart.API/1.6", "user.json"),
+ url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/user.json"),
headers: {
"x-yoox-appname": auth.appname,
"x-yoox-cart-token": cart.token,
@@ -37,7 +37,6 @@ sdk.cart = (function(){
"UserToken": auth.access_token,
},
success: function(data){
- console.log(data)
opt.success(data)
},
error: opt.error,