mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-20 12:31:50 +02:00
Do the full update ticket flow when followups are posted from the API
This commit is contained in:
committed by
Timothy Hobbs
parent
ffb7522e79
commit
9526ca9820
@@ -54,6 +54,9 @@ class FollowUpViewSet(viewsets.ModelViewSet):
|
||||
pagination_class = ConservativePagination
|
||||
permission_classes = [IsAdminUser]
|
||||
|
||||
def perform_create(self, serializer):
|
||||
serializer.save(user=self.request.user)
|
||||
|
||||
|
||||
class FollowUpAttachmentViewSet(viewsets.ModelViewSet):
|
||||
queryset = FollowUpAttachment.objects.all()
|
||||
|
Reference in New Issue
Block a user