refactor bws url structure on local storage

This commit is contained in:
Javier 2015-10-20 13:39:56 -03:00
commit 42fd03faff
2 changed files with 5 additions and 4 deletions

View file

@ -36,9 +36,9 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
}
var opts = {
bws: {}
bwsFor: {}
};
opts.bws[walletId] = this.bwsurl;
opts.bwsFor[walletId] = this.bwsurl;
configService.set(opts, function(err) {
if (err) console.log(err);