fix logging

This commit is contained in:
Mira Weller
2024-07-22 11:36:48 +02:00
parent bc9f04e650
commit f26a67029a
+3 -3
View File
@@ -681,9 +681,9 @@ class SeatViewSet(ConditionalListView, viewsets.ModelViewSet):
def perform_update(self, serializer):
super().perform_update(serializer)
serializer.instance.log_action(
'pretix.event.seat.changed',
serializer.instance.event.log_action(
"pretix.event.seats.blocks.changed",
user=self.request.user,
auth=self.request.auth,
data=self.request.data
data={"seats": [serializer.instance.pk]},
)