fix: setLocalData
This commit is contained in:
parent
ccc093b85f
commit
e304fe5e0a
@ -10,7 +10,7 @@ if ('serviceWorker' in navigator) {
|
||||
const updatedResponse = await cache.match(updatedURL);
|
||||
try {
|
||||
const updatedData = await updatedResponse.json();
|
||||
if (sibStore && "setResource" in sibStore) {
|
||||
if (sibStore && "setLocalData" in sibStore) {
|
||||
sibStore.setLocalData(updatedData, updatedURL);
|
||||
}
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user