mirror of
https://github.com/pretix/pretix.git
synced 2026-05-16 17:03:58 +00:00
fix error response from CartExtend
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user