insert costumer registration, remove doppel point

This commit is contained in:
Marko Oldenburg 2019-09-26 09:48:05 +02:00
parent 506b804f42
commit 410cb53b52

View File

@ -179,7 +179,7 @@ my %paths = (
'powerwallsstop' => 'sitemaster/stop',
'powerwallsrun' => 'sitemaster/run',
'powerwalls' => 'powerwalls',
# 'registration' => 'customer/registration',
'registration' => 'customer/registration',
'status' => 'status',
'login' => 'login/Basic',
'gridstatus' => 'system_status/grid_status',
@ -1039,7 +1039,7 @@ sub CreateUri($$) {
my $header;
my $data;
$uri = $host . ':' . '/api/' . $paths{$path};
$uri = $host . '/api/' . $paths{$path};
if ( $path eq 'sitemasterrun' ) {
$header = 'Authorization: Bearer' . $hash->{TOKEN};