summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Net/Vitelity.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/Vitelity.pm b/lib/Net/Vitelity.pm
index e0917f1..4409b5b 100644
--- a/lib/Net/Vitelity.pm
+++ b/lib/Net/Vitelity.pm
@@ -60,7 +60,7 @@ sub AUTOLOAD {
my $url = $URL_API;
$url = $URL_FAX if $self->{apitype} eq 'fax';
- $url = $URL_FAX if $self->{apitype} eq 'lnp';
+ $url = $URL_LNP if $self->{apitype} eq 'lnp';
my $response = $ua->post($url, {
login => $self->{login},