fix: respect environment variable to toggle BPN debug mode

This commit is contained in:
Björn Fromme
2025-09-02 08:40:17 +02:00
parent 76aeb101bd
commit 1c2421fb7e
4 changed files with 10 additions and 6 deletions
+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);