credentials
This commit is contained in:
parent
1501d74558
commit
44cf9dc971
4 changed files with 4 additions and 8 deletions
|
|
@ -34,8 +34,6 @@ angular.module('copayApp.controllers').controller('buyCoinbaseController', funct
|
|||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
coinbaseService.setCredentials();
|
||||
|
||||
$scope.isFiat = data.stateParams.currency ? true : false;
|
||||
[amount, currency, $scope.amountUnitStr] = coinbaseService.parseAmount(
|
||||
data.stateParams.amount,
|
||||
|
|
|
|||
|
|
@ -117,8 +117,6 @@ angular.module('copayApp.controllers').controller('sellCoinbaseController', func
|
|||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
coinbaseService.setCredentials();
|
||||
|
||||
$scope.isFiat = data.stateParams.currency ? true : false;
|
||||
[amount, currency, $scope.amountUnitStr] = coinbaseService.parseAmount(
|
||||
data.stateParams.amount,
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ angular.module('copayApp.services').factory('amazonService', function($http, $lo
|
|||
* Development: 'testnet'
|
||||
* Production: 'livenet'
|
||||
*/
|
||||
//credentials.NETWORK = 'livenet';
|
||||
credentials.NETWORK = 'testnet';
|
||||
credentials.NETWORK = 'livenet';
|
||||
//credentials.NETWORK = 'testnet';
|
||||
|
||||
if (credentials.NETWORK == 'testnet') {
|
||||
credentials.BITPAY_API_URL = "https://test.bitpay.com";
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ angular.module('copayApp.services').factory('glideraService', function($http, $l
|
|||
* Development: 'testnet'
|
||||
* Production: 'livenet'
|
||||
*/
|
||||
// credentials.NETWORK = 'livenet';
|
||||
credentials.NETWORK = 'testnet';
|
||||
credentials.NETWORK = 'livenet';
|
||||
//credentials.NETWORK = 'testnet';
|
||||
|
||||
if (credentials.NETWORK == 'testnet') {
|
||||
credentials.HOST = glidera.sandbox.host;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue