Iterable is keys, not an object.
This commit is contained in:
parent
495d919131
commit
46fa9b46af
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ angular.module('copayApp.services')
|
|||
}
|
||||
data = data || {};
|
||||
var upgraded = '';
|
||||
_asyncEach(data, function(key, callback) {
|
||||
_asyncEach(Object.keys(data), function(key, callback) {
|
||||
// Keys are account emails
|
||||
if (!data[key]['bitpayApi-' + network]) {
|
||||
// Needs upgrade
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue