From: Nicolas Boisselier Date: Sat, 4 Feb 2017 20:59:55 +0000 (+0000) Subject: bin/ovh-api X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=5c0a6a89b114e745bd402e85b28d0c4a26ab8c7a;p=nb.git bin/ovh-api --- diff --git a/bin/ovh-api b/bin/ovh-api index 2d1850ac..ad139ea3 100755 --- a/bin/ovh-api +++ b/bin/ovh-api @@ -34,7 +34,7 @@ my %Opt = ( get_options(\%Opt); # Auth if ($_ = $Opt{activate}) { - my $Api = OvhApi->new(type => OvhApi::OVH_API_EU, applicationKey => $)); + my $Api = OvhApi->new(type => OvhApi::OVH_API_EU, applicationKey => $_); my $Answer = $Api->requestCredentials(accessRules => [ { method => 'ALL', path => '/*', # NB 04.02.17 method => 'GET', path => '/*',