fix: setLocalData

This commit is contained in:
Jean-Baptiste Pasquier 2021-05-12 10:57:14 +02:00
parent ccc093b85f
commit e304fe5e0a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {