From 8eccf05a68551c71d0d989fa2413c6095234777c Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Mon, 23 Oct 2017 20:31:24 -0400 Subject: [PATCH] storage.getItem, not getItem, you scrub. --- lib/intval/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/intval/index.js b/lib/intval/index.js index 52d37bd..23acc5d 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -109,7 +109,7 @@ intval._setState = function (data) { } intval._storeState = function () { - setItem('_state', intval._state) + storage.setItem('_state', intval._state) .then(() => {}) .catch((err) => { log.error('_storeState', err)