Skip to content

Commit

Permalink
fixed mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiHamasa committed Oct 8, 2024
1 parent 619785a commit bd98d06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cinema/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def create(self, validated_data):
order = Order.objects.create(**validated_data)
for ticket_data in tickets_data:
Ticket.objects.create(order=order, **ticket_data)
return order


class OrderCreateSerializer(OrderListSerializer):
Expand Down

0 comments on commit bd98d06

Please sign in to comment.