Remove last_escalation field from serializer since it is a non-editable field

This commit is contained in:
Benbb96 2022-04-11 00:15:11 +02:00
parent 25b1e1e5bd
commit dbcd0fe6b4

View File

@ -75,7 +75,7 @@ class TicketSerializer(serializers.ModelSerializer):
model = Ticket
fields = (
'id', 'queue', 'title', 'description', 'resolution', 'submitter_email', 'assigned_to', 'status', 'on_hold',
'priority', 'due_date', 'last_escalation', 'merged_to'
'priority', 'due_date', 'merged_to'
)
def __init__(self, *args, **kwargs):