Skip to content

Commit

Permalink
fix: adjust the call to GetStores to remove not necessary lines
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 committed Dec 20, 2024
1 parent 9c6cec2 commit 998640d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,12 @@ const expressPaymentMethods = [
];

document.addEventListener('DOMContentLoaded', async () => {
const response = await fetch('AdyenSettings-GetStores', {
await fetch('AdyenSettings-GetStores', {
headers: {
'Content-Type': 'application/json; charset=utf-8',
},
method: 'GET',
});
const result = await response.json();
return result;
});

document.addEventListener('DOMContentLoaded', () => {
Expand Down

0 comments on commit 998640d

Please sign in to comment.