diff --git a/src/scripts/sw-broadcast.js b/src/scripts/sw-broadcast.js index 7cac9f1..9a95450 100644 --- a/src/scripts/sw-broadcast.js +++ b/src/scripts/sw-broadcast.js @@ -11,7 +11,7 @@ if ('serviceWorker' in navigator) { try { const updatedData = await updatedResponse.json(); if (sibStore && "setResource" in sibStore) { - sibStore.setResource(updatedURL, updatedData); + sibStore.setLocalData(updatedData, updatedURL); } } catch (e) { console.error(e);