Skip to content

Commit

Permalink
OOB: Stop adding 1 to feature keys' index on save since they start at…
Browse files Browse the repository at this point in the history
… 1 (index 0) now
  • Loading branch information
joristirado committed Dec 29, 2015
1 parent 2048280 commit 881a88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submodules/devices/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 881a88f

Please sign in to comment.