Skip to content

Commit

Permalink
Update ButtonWithImage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Feb 1, 2024
1 parent 21a5f38 commit ce93d69
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ function ButtonWithImage({ data, className }) {
const azureURL = `https://azurepetstore.com/api/updatecart?csrf=${csrf}&productId=${productId}`;
console.log(azureURL);

fetch(azureURL, {
headers: {
'Cookie': `JSESSIONID=${session}`,
'Content-Type': 'text/html'
},
type: 'GET'
}).then(response => { console.log(response) });
fetch(azureURL, {
headers: {
Cookie: `JSESSIONID=${session}`,
'Content-Type': 'text/html'
},
type: 'GET'
}).then(response => { console.log(response); });
};

return (
Expand Down

0 comments on commit ce93d69

Please sign in to comment.