From b30caa1c604677762d0b74ac4d59ebf65e8dfdf2 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Wed, 14 Aug 2024 19:18:01 -0400 Subject: [PATCH] Testing 5 --- src/assets/hestia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/hestia.js b/src/assets/hestia.js index 79cdef6..c3494d2 100644 --- a/src/assets/hestia.js +++ b/src/assets/hestia.js @@ -6,10 +6,10 @@ window.onload = async function() { if (!response.ok) { throw new Error('Network response was not ok'); } - return response.json(); // Parse the JSON data from the response }) .then(data => { console.log(data); // Use the JSON data here + return data; }) .catch(error => { console.error('There was a problem with the fetch operation:', error);