We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9013d9d commit 9bcd5aaCopy full SHA for 9bcd5aa
src/Afip.js
@@ -143,6 +143,7 @@ function Afip(options = {}){
143
144
this.AdminClient.defaults.headers.common['sdk-version-number'] = this.sdk_version_number;
145
this.AdminClient.defaults.headers.common['sdk-library'] = 'javascript';
146
+ this.AdminClient.defaults.headers.common['sdk-environment'] = this.options['production'] === true ? "prod" : "dev";
147
148
if (this.options['access_token']) {
149
this.AdminClient.defaults.headers.common['Authorization'] = `Bearer ${this.options['access_token']}`;
0 commit comments