root response fix

This commit is contained in:
Rainer Gümpelein 2022-01-04 12:28:09 +01:00
parent 1b0ba8f010
commit 1248ad755e
2 changed files with 29 additions and 31 deletions

View file

@ -57,10 +57,32 @@ sub fetch_merchant {
my $req_authcookie = shift || "";
my $req_merchant_id = shift || "";
my $response = { init_map => {
my $response = {
user_id => "",
authcookie => "",
new_authcoo => "0",
clearing_cache => "0",
agb_checked => "0",
user_group => [],
user_tour => [],
response_state => "OK, nothing todo",
privacy_html => "site/privacy_1.html",
agb_html => "site/agb.html",
impress_html => "site/impress.html",
tariff_info_html => "site/tariff_info_1.html",
bike_info_html => "site/bike_info.html",
lang => "DE",
last_used_operator => {
operator_name => "sharee.bike | TeilRad GmbH",
operator_color => "#009699",
operator_email => "hotline\@sharee.bike",
operator_phone => "+49 761 45370097",
operator_hours => "Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr",
},
init_map => {
center => { latitude => "", longitude => "" },
radius => ""
}
}
};
my $merchanized = 0;