feat: Arrow functions aufgeräumt und Fehlerbehandlung ergänzt. (#105)

This commit is contained in:
muli 2022-06-16 16:52:20 +02:00
parent e267a58b80
commit c248229a61

View File

@ -29,5 +29,6 @@ contact_form.addEventListener('submit', function(event) {
body: formData,
})
.then(response => response.json())
.then(json => {console.log(json)});
.then(json => console.log(json))
.catch(error => console.log(error));
}, false);