async function uploadToGoogleSheets(record){
const response = await fetch(https://script.google.com/macros/s/AKfycbzd7jgYz1BdngL-TUejjMytmyEVkgNIhJKijuhNZ1ZAwSn1qWKuQjmy9pE8XGfqTjXk/exec,{
method:”POST”,
headers:{
“Content-Type”:”application/json”
},
body:JSON.stringify(record)
});
const result = await response.json();
console.log(result);
}