Skip to content

Commit

Permalink
add system header
Browse files Browse the repository at this point in the history
  • Loading branch information
bessudnov committed May 14, 2021
1 parent 44b4eac commit 652e4cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AmoCRM/Client/AmoCRMApiRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@ private function getBaseHeaders()
$headers = $this->oAuthClient->getAuthorizationHeaders($this->accessToken);

$headers['User-Agent'] = self::USER_AGENT;
$headers['X-Library-Version'] = self::USER_AGENT;
$headers['X-Library-Version'] = self::LIBRARY_VERSION;
$headers['X-Client-UUID'] = $this->oAuthClient->getOAuthProvider()->getClientId();

return $headers;
}
Expand Down

0 comments on commit 652e4cc

Please sign in to comment.