enhance booking_update logging

This commit is contained in:
ragu 2023-06-15 11:26:21 +02:00
parent 0857601751
commit 7dcf48db2c
3 changed files with 24 additions and 22 deletions

View file

@ -388,7 +388,7 @@ elsif($q->param('request') eq "booking_cancel" || $q->param('request') eq "booki
$response = {%$response, %$booking_values};
}
elsif($q->param('request') eq "booking_update" && (($q->param('state') && $q->param('state') =~ /occupied|available/) || ($q->param('lock_state') && $q->param('lock_state') =~ /locking|locked|unlocking|unlocked/))){
elsif($q->param('request') eq "booking_update" && (($q->param('state') && $q->param('state') =~ /occupied|available/) || $q->param('lock_state'))){
my $booking_values = {};
#update on sig