Fix code style

This commit is contained in:
Emili Castells Guasch 2023-03-22 17:00:16 +01:00
parent df2c215ec9
commit 5ceb39c9e0
5 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,7 @@ class CartActionHandler {
return fetch(this.config.ajax.create_order.endpoint, {
method: 'POST',
headers: {
"Content-Type": "application/json",
'Content-Type': 'application/json'
},
credentials: 'same-origin',
body: JSON.stringify({

View file

@ -33,7 +33,7 @@ class CheckoutActionHandler {
return fetch(this.config.ajax.create_order.endpoint, {
method: 'POST',
headers: {
"Content-Type": "application/json",
'Content-Type': 'application/json'
},
credentials: 'same-origin',
body: JSON.stringify({

View file

@ -67,7 +67,7 @@ class SingleProductActionHandler {
return fetch(this.config.ajax.create_order.endpoint, {
method: 'POST',
headers: {
"Content-Type": "application/json",
'Content-Type': 'application/json'
},
credentials: 'same-origin',
body: JSON.stringify({

View file

@ -3,7 +3,7 @@ const onApprove = (context, errorHandler) => {
return fetch(context.config.ajax.approve_order.endpoint, {
method: 'POST',
headers: {
"Content-Type": "application/json",
'Content-Type': 'application/json'
},
credentials: 'same-origin',
body: JSON.stringify({

View file

@ -6,7 +6,7 @@ const onApprove = (context, errorHandler, spinner) => {
return fetch(context.config.ajax.approve_order.endpoint, {
method: 'POST',
headers: {
"Content-Type": "application/json",
'Content-Type': 'application/json'
},
credentials: 'same-origin',
body: JSON.stringify({