Adds missing attribute reference for network.

This commit is contained in:
Andy Phillipson 2017-01-23 17:16:08 -05:00
parent 91b6d2774b
commit 495d919131
1 changed files with 1 additions and 1 deletions

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');
});