Merge pull request #234 from bcournaud/master

Remove trailing ';' in kayako plugin
This commit is contained in:
qgarnier 2015-12-04 15:27:12 +01:00
commit c8513a2522
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ sub reload_cache {
my $salt = '';
$salt .= int(rand(10)) for 1..10;
my $digest = hmac_sha256_base64 ($salt, $self->{option_results}->{kayako_secret_key});
my $webcontent = $self->{http}->request(url_path => $url_original_path . "/Base/Department&apikey=" . $self->{option_results}->{kayako_api_key} . "&salt=" . $salt . "&signature=" . $digest . "=";);
my $webcontent = $self->{http}->request(url_path => $url_original_path . "/Base/Department&apikey=" . $self->{option_results}->{kayako_api_key} . "&salt=" . $salt . "&signature=" . $digest . "=");
my $xp = XML::XPath->new($webcontent);
my $nodes = $xp->find('departments/department');