fix: respect environment variable to toggle BPN debug mode

This commit is contained in:
Björn Fromme committed 2025-09-02 08:40:17 +02:00
1 parent 76aeb101bd
commit 1c2421fb7e
4 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ class EditController extends AbstractController
]);
try {
$response = $this->apiClient->updateBooking($formData, true);
$response = $this->apiClient->updateBooking($formData);
if ($response instanceof Notification) {
if (true === $response->isError()) {
$this->addFlash('error', $response->message);