diff --git a/core/tickets/serializers.py b/core/tickets/serializers.py index c1576f8..4050324 100644 --- a/core/tickets/serializers.py +++ b/core/tickets/serializers.py @@ -32,7 +32,7 @@ class StateSerializer(serializers.Serializer): class ShippingCodeSerializer(serializers.ModelSerializer): class Meta: model = ShippingCode - fields = ('id', 'code', 'timestamp', 'issue_thread', 'used_at') + fields = ('id', 'code', 'timestamp', 'issue_thread', 'used_at', 'type') read_only_fields = ('id', 'timestamp', 'used_at')