File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ function Afip(options = {}){
98
98
if ( ! options . hasOwnProperty ( 'key' ) ) { options [ 'key' ] = 'key' ; }
99
99
if ( ! options . hasOwnProperty ( 'res_folder' ) ) { options [ 'res_folder' ] = __dirname + '/Afip_res/' ; }
100
100
if ( ! options . hasOwnProperty ( 'ta_folder' ) ) { options [ 'ta_folder' ] = __dirname + '/Afip_res/' ; }
101
- if ( ! options [ 'production' ] !== true ) { options [ 'production' ] = false ; }
101
+ if ( options [ 'production' ] !== true ) { options [ 'production' ] = false ; }
102
102
103
103
this . options = options ;
104
104
@@ -231,7 +231,7 @@ Afip.prototype.CreateServiceTA = async function(service) {
231
231
const signedTRA = Buffer . from ( bytes , "binary" ) . toString ( "base64" ) ;
232
232
233
233
// SOAP Client options
234
- const soapClientOptions = { disableCache :true } ;
234
+ const soapClientOptions = { disableCache :true , endpoint : this . WSAA_URL } ;
235
235
236
236
// Create SOAP client
237
237
const soapClient = await soap . createClientAsync ( this . WSAA_WSDL , soapClientOptions ) ;
You can’t perform that action at this time.
0 commit comments