Adds missing attribute reference for network.

This commit is contained in:
Andy Phillipson 2017-01-23 17:16:08 -05:00
commit 495d919131

View file

@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
}
});
} else {
appIdentityService.getIdentity(bitpayService.getEnvironment(), function(err, appIdentity) {
appIdentityService.getIdentity(bitpayService.getEnvironment().network, function(err, appIdentity) {
if (err) popupService.showAlert(null, err);
else $log.info('App identity: OK');
});