insert costumer registration, remove doppel point
This commit is contained in:
parent
506b804f42
commit
410cb53b52
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user