Skip to content

Commit 44f9355

Browse files
committed
Fix return in RegisterScopeFive getTaxpayerDetails method
1 parent e7e9555 commit 44f9355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Class/RegisterScopeFive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = class RegisterScopeFive extends AfipWebService {
5252
};
5353

5454
return this.executeRequest('getPersona', params)
55-
.then(res => res.persona)
55+
.then(res => res)
5656
.catch(err => { if (err.message.indexOf('No existe') !== -1) { return null } else { throw err }});
5757
}
5858

0 commit comments

Comments
 (0)