Update ReviewInvoice.js
This commit is contained in:
		@@ -127,11 +127,13 @@ const ReviewInvoice = () => {
 | 
			
		||||
            credentials: 'include',
 | 
			
		||||
            mode: 'cors',
 | 
			
		||||
            headers: {
 | 
			
		||||
                'accept': 'application/json',
 | 
			
		||||
                'Accept': 'text/json',
 | 
			
		||||
                'Content-Type': 'text/json'
 | 
			
		||||
            },
 | 
			
		||||
            body: json
 | 
			
		||||
        })
 | 
			
		||||
        console.log(json);
 | 
			
		||||
        console.log(await response.json());
 | 
			
		||||
        if (response.ok) {
 | 
			
		||||
            mySwal.fire({
 | 
			
		||||
                title: 'Commande envoyée avec succès!',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user