+ Fix Kayako ticket counts (remove trailing ';')
This commit is contained in:
parent
7afb553433
commit
86d16dfc40
|
@ -140,7 +140,7 @@ sub reload_cache {
|
||||||
my $salt = '';
|
my $salt = '';
|
||||||
$salt .= int(rand(10)) for 1..10;
|
$salt .= int(rand(10)) for 1..10;
|
||||||
my $digest = hmac_sha256_base64 ($salt, $self->{option_results}->{kayako_secret_key});
|
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 $xp = XML::XPath->new($webcontent);
|
||||||
my $nodes = $xp->find('departments/department');
|
my $nodes = $xp->find('departments/department');
|
||||||
|
|
Loading…
Reference in New Issue