Skip to content

Commit

Permalink
Remove changes from irrelevant file
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Demiralp committed Sep 26, 2024
1 parent 0331e80 commit 776db12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions view/frontend/web/js/model/adyen-payment-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ define(
saveStateData: function (stateData) {
let urlPath = '/adyen/guest-carts/:cartId/state-data';
let urlParams = {cartId: quote.getQuoteId()};

if (customer.isLoggedIn()) {
urlPath = '/adyen/carts/mine/state-data';
urlParams = {};
}
}

let serviceUrl = urlBuilder.createUrl(urlPath, urlParams);
let request = {
stateData: JSON.stringify(stateData)
Expand Down

0 comments on commit 776db12

Please sign in to comment.