Do the full update ticket flow when followups are posted from the API

This commit is contained in:
Timothy Hobbs
2023-11-29 22:03:09 +00:00
committed by Timothy Hobbs
parent ffb7522e79
commit 9526ca9820
5 changed files with 41 additions and 20 deletions

View File

@@ -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()