fix BWS url

This commit is contained in:
Matias Alejo Garcia 2016-06-07 12:03:00 -03:00
commit 0a240d5559
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
3 changed files with 5 additions and 5 deletions

View file

@ -32,9 +32,9 @@ bwcModule.provider("bwcService", function() {
service.getClient = function(walletData, opts) {
opts = opts || {};
//note opts use `baseurl` all lowercase;
//note opts use `bwsurl` all lowercase;
var bwc = new Client({
baseUrl: opts.baseurl || 'https://bws.bitpay.com/bws/api',
baseUrl: opts.bwsurl || 'https://bws.bitpay.com/bws/api',
verbose: opts.verbose,
transports: ['polling'],
});