fix error response from CartExtend

This commit is contained in:
Mira Weller
2025-05-16 21:18:49 +02:00
parent f26c7984dc
commit 3e6373485a

View File

@@ -543,7 +543,7 @@ class CartExtendReservation(EventViewMixin, CartActionMixin, AsyncAction, View):
known_errortypes = ['CartError']
def _ajax_response_data(self, value):
return value
return value or {}
def get_success_message(self, value):
if value['success'] > 0: