From 881a88fa7d6ecbecc46949f74bcc220ec001fb4a Mon Sep 17 00:00:00 2001 From: Joris Tirado Date: Tue, 29 Dec 2015 15:44:12 -0800 Subject: [PATCH] OOB: Stop adding 1 to feature keys' index on save since they start at 1 (index 0) now --- submodules/devices/devices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/devices/devices.js b/submodules/devices/devices.js index 57f6bdce..2240b14c 100644 --- a/submodules/devices/devices.js +++ b/submodules/devices/devices.js @@ -583,7 +583,7 @@ define(function(require){ var featureKeys = {}; formData.provision.feature_keys.forEach(function(val, idx) { - featureKeys[idx + 1] = val; + featureKeys[idx] = val; }); formData.provision.feature_keys = featureKeys;