remove console.logs

This commit is contained in:
Victor Turgeon 2022-12-08 19:42:00 -05:00
parent 185df856cd
commit 10abe82b83

View File

@ -55,7 +55,6 @@ const PaymentForm = ({ cost, invoice }) => {
.then((result) => { .then((result) => {
if (!result.error) { if (!result.error) {
console.log(invoice);
invoice.token = result.token.id; invoice.token = result.token.id;
invoice.description = `Payement de ${cost} à GM`; invoice.description = `Payement de ${cost} à GM`;
invoice.amountInCents = cost; invoice.amountInCents = cost;
@ -76,7 +75,6 @@ const PaymentForm = ({ cost, invoice }) => {
}, },
body: json body: json
}).then((response) => { }).then((response) => {
console.log(response);
if (response.ok) { if (response.ok) {
mySwal.fire({ mySwal.fire({
title: 'Commande envoyée avec succès!', title: 'Commande envoyée avec succès!',