diff --git a/app/api/serializers/core/ticket.py b/app/api/serializers/core/ticket.py index 8c8530ba7..f8f43e7f8 100644 --- a/app/api/serializers/core/ticket.py +++ b/app/api/serializers/core/ticket.py @@ -173,10 +173,10 @@ def is_valid(self, *, raise_exception=True) -> bool: self._ticket_type = str(self.fields['ticket_type'].choices[self._context['view']._ticket_type_value]).lower().replace(' ', '_') - is_valid = self.validate_ticket() - self.validated_data['ticket_type'] = int(self._context['view']._ticket_type_value) + is_valid = self.validate_ticket() + if self.instance is None: subscribed_users: list = []