fix ovh notification
This commit is contained in:
parent
b8f8c07cb7
commit
d1e710e92a
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue