File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ function Afip(options = {}){
99
99
this . TA_FOLDER = options [ 'ta_folder' ] ;
100
100
this . CERT = path . resolve ( this . RES_FOLDER , options [ 'cert' ] ) ;
101
101
this . PRIVATEKEY = path . resolve ( this . RES_FOLDER , options [ 'key' ] ) ;
102
- this . WSAA_WSDL = this . RES_FOLDER + ' wsaa.wsdl';
102
+ this . WSAA_WSDL = path . resolve ( __dirname , 'Afip_res/' , ' wsaa.wsdl') ;
103
103
104
104
if ( options [ 'production' ] ) {
105
105
this . WSAA_URL = 'https://wsaa.afip.gov.ar/ws/services/LoginCms' ;
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ module.exports = class AfipWebService {
54
54
this . afip = webServiceOptions . afip ;
55
55
56
56
if ( this . afip . options [ 'production' ] ) {
57
- this . WSDL = path . resolve ( this . afip . RES_FOLDER , this . WSDL ) ;
57
+ this . WSDL = path . resolve ( __dirname , '../Afip_res' , this . WSDL ) ;
58
58
}
59
59
else {
60
- this . WSDL = path . resolve ( this . afip . RES_FOLDER , this . WSDL_TEST ) ;
60
+ this . WSDL = path . resolve ( __dirname , '../Afip_res' , this . WSDL_TEST ) ;
61
61
this . URL = this . URL_TEST ;
62
62
}
63
63
}
You can’t perform that action at this time.
0 commit comments