This commit is contained in:
Skylar Grant 2024-08-14 20:27:24 -04:00
parent 1e55c058b9
commit 6fab8e4101

View File

@ -5,7 +5,7 @@ window.onload = async function() {
.then(response => { .then(response => {
if (!response.ok) { if (!response.ok) {
throw new Error('Network response was not ok'); throw new Error('Network response was not ok');
}
return response.json(); // Parse the JSON data from the response return response.json(); // Parse the JSON data from the response
}) })
.then(data => { .then(data => {