fix(assistance): Category can be empty for Incident Ticket

ref: #537 #577
This commit is contained in:
2025-02-11 16:24:38 +09:30
parent 91bea05496
commit a189a60e1b

View File

@ -28,6 +28,7 @@ class IncidentTicketModelSerializer(
):
category = serializers.PrimaryKeyRelatedField(
allow_null = True,
queryset = TicketCategory.objects.filter(
incident = True
),