Skip to content

Commit

Permalink
Fix dev version string in user agent info
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 authored Sep 27, 2023
1 parent 3e360ab commit 55f61de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDKConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected function userAgentPrefix(): string {
// apigee_edge module info.
$edge_module_info = $this->infoParser->parse($this->moduleHandler->getModule('apigee_edge')->getPathname());
if (!isset($edge_module_info['version'])) {
$edge_module_info['version'] = '2.x-dev';
$edge_module_info['version'] = '3.x-dev';
}
$user_agent_parts[] = $edge_module_info['name'] . '/' . $edge_module_info['version'];
$user_agent_parts[] = 'Drupal/' . \Drupal::VERSION;
Expand Down

0 comments on commit 55f61de

Please sign in to comment.