Skip to content

Commit 2401ae8

Browse files
committed
Shop and basket done
1 parent bbf4e02 commit 2401ae8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Zenergy/Zenergy/Scripts/Controllers/cartPageController.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,13 @@
4848
}
4949

5050
$scope.proceed = function () {
51-
52-
/*var BasketValidation = $resource('api/users/1/basket/validate', { userId: '@id' }, {
51+
var BasketValidation = $resource('api/users/'+tokenService.getUserId()+'/basket/validate', {}, {
5352
update: {
5453
method: 'PUT' // this method issues a PUT request
5554
}
5655
});
5756

58-
BasketValidation.update({});*/
59-
57+
BasketValidation.update({});
6058
};
6159

6260

0 commit comments

Comments
 (0)