mirror of
https://github.com/pretix/pretix.git
synced 2026-08-28 13:34:40 +00:00
Revert accidental commit part
This commit is contained in:
@@ -259,12 +259,10 @@ class CheckinListPositionViewSet(viewsets.ReadOnlyModelViewSet):
|
|||||||
return Response({
|
return Response({
|
||||||
'status': 'error',
|
'status': 'error',
|
||||||
'reason': e.code,
|
'reason': e.code,
|
||||||
'data': OrderPositionSerializer(op).data
|
|
||||||
}, status=400)
|
}, status=400)
|
||||||
else:
|
else:
|
||||||
return Response({
|
return Response({
|
||||||
'status': 'ok',
|
'status': 'ok',
|
||||||
'data': OrderPositionSerializer(op).data
|
|
||||||
}, status=201)
|
}, status=201)
|
||||||
|
|
||||||
def get_object(self):
|
def get_object(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user