Use an environment object instead of string.
This commit is contained in:
parent
189117433a
commit
28f9fbc0b6
5 changed files with 22 additions and 17 deletions
|
|
@ -7,7 +7,7 @@ angular.module('copayApp.controllers').controller('bitpayCardController', functi
|
|||
$scope.dateRange = {
|
||||
value: 'last30Days'
|
||||
};
|
||||
$scope.network = bitpayService.getEnvironment();
|
||||
$scope.network = bitpayService.getEnvironment().network;
|
||||
|
||||
var updateHistoryFromCache = function(cb) {
|
||||
bitpayCardService.getBitpayDebitCardsHistory($scope.cardId, function(err, data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue