summaryrefslogtreecommitdiffstats
path: root/toolkit/components/normandy/lib/AddonRollouts.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/normandy/lib/AddonRollouts.sys.mjs')
-rw-r--r--toolkit/components/normandy/lib/AddonRollouts.sys.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/normandy/lib/AddonRollouts.sys.mjs b/toolkit/components/normandy/lib/AddonRollouts.sys.mjs
index ab2994a5f9..2e3f969920 100644
--- a/toolkit/components/normandy/lib/AddonRollouts.sys.mjs
+++ b/toolkit/components/normandy/lib/AddonRollouts.sys.mjs
@@ -37,13 +37,13 @@ ChromeUtils.defineESModuleGetters(lazy, {
const DB_NAME = "normandy-addon-rollout";
const STORE_NAME = "addon-rollouts";
-const DB_OPTIONS = { version: 1 };
+const DB_VERSION = 1;
/**
* Create a new connection to the database.
*/
function openDatabase() {
- return lazy.IndexedDB.open(DB_NAME, DB_OPTIONS, db => {
+ return lazy.IndexedDB.open(DB_NAME, DB_VERSION, db => {
db.createObjectStore(STORE_NAME, {
keyPath: "slug",
});