Skip to content

Commit

Permalink
Add missing headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanalemunioz committed Oct 12, 2023
1 parent 62265c1 commit afc8617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Class/ElectronicBilling.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public function CreatePDF($data)
{
$headers = array(
'sdk-version-number' => $this->afip->sdk_version_number,
'sdk-library' => 'php'
'sdk-library' => 'php',
'sdk-environment' => $this->afip->options['production'] === TRUE ? "prod" : "dev"
);

if (isset($this->afip->options['access_token'])) {
Expand Down

0 comments on commit afc8617

Please sign in to comment.