fix ovh notification

This commit is contained in:
garnier-quentin 2019-01-22 13:59:12 +01:00
parent b8f8c07cb7
commit d1e710e92a
1 changed files with 3 additions and 3 deletions

View File

@ -105,10 +105,10 @@ sub run {
"to=$self->{option_results}->{to}", "to=$self->{option_results}->{to}",
"from=$self->{option_results}->{from}", "from=$self->{option_results}->{from}",
"message=$self->{option_results}->{message}", "message=$self->{option_results}->{message}",
"class=$self->{option_results}->{class}", "class=" . (defined($self->{option_results}->{class}) ? $self->{option_results}->{class} : ''),
"noStop=$self->{option_results}->{nostop}", "noStop=" . (defined($self->{option_results}->{nostop}) ? $self->{option_results}->{nostop} : ''),
"contentType=application/json", "contentType=application/json",
"smsCoding=$self->{option_results}->{smsCoding}", "smsCoding=" . (defined($self->{option_results}->{smsCoding}) ? $self->{option_results}->{smsCoding} : ''),
]; ];
my $response = $self->{http}->request(method => 'GET', get_param => $sms_param); my $response = $self->{http}->request(method => 'GET', get_param => $sms_param);