diff options
-rw-r--r-- | library/sw-core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/sw-core.js b/library/sw-core.js index 3972e361b..8c7de2c32 100644 --- a/library/sw-core.js +++ b/library/sw-core.js @@ -142,7 +142,7 @@ function setupController (initState, client) { // diskStore // ) controller.store.subscribe((state) => { - dbController.put(versionifyData(controller.store)) + dbController.put(versionifyData(state)) .catch((err) => {console.error(err)}) }) function versionifyData(state) { |