Skip to content

Commit

Permalink
Merge pull request #121 from avadev/20-7-update
Browse files Browse the repository at this point in the history
Update for 20-7-update
  • Loading branch information
contygm authored Jul 21, 2020
2 parents bfc974a + a919351 commit ec89daf
Show file tree
Hide file tree
Showing 4 changed files with 573 additions and 5,364 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ protected function restCall($apiUrl, $verb, $guzzleParams)
}
$guzzleParams['headers'] = [
'Accept' => 'application/json',
'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 20.6.0; {$this->machineName}"
'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 20.7.0; {$this->machineName}"
];
} else {
$guzzleParams['headers'] = [
'Accept' => 'application/json',
'Authorization' => 'Bearer '.$this->auth[0],
'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 20.6.0; {$this->machineName}"
'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 20.7.0; {$this->machineName}"
];
}
// timeout for 1200s (20 min)
Expand Down
Loading

0 comments on commit ec89daf

Please sign in to comment.