diff --git a/high-green-power/src/App.tsx b/high-green-power/src/App.tsx index 8d10d05..35c6a72 100644 --- a/high-green-power/src/App.tsx +++ b/high-green-power/src/App.tsx @@ -130,10 +130,12 @@ function App() { contacts: [{ name: values.nomePessoaContacto, email: values.emailPessoaContacto, - phone: values.telemovelPC, + phone: values.telemovelPC.replace(/\s/g, ''), }] }; + console.log('Extracted Data:', extractedData); + try { // Make a POST request using Axios const response = await axios.post('https://dev-hgp-sgi.streamline.pt/api/entities', extractedData);