Commit becdd9c7 authored by John Red Medrano's avatar John Red Medrano

change json format at endpoint user-format-download

parent fa2c76ac
...@@ -196,10 +196,11 @@ class BatchUploadViewSet(viewsets.ModelViewSet): ...@@ -196,10 +196,11 @@ class BatchUploadViewSet(viewsets.ModelViewSet):
'List of Change Request Form found', 'List of Change Request Form found',
serializer.data serializer.data
) )
return Response( return self.get_paginated_response(message)
{"message": message}, # return Response(
status=status.HTTP_200_OK # {"message": message},
) # status=status.HTTP_200_OK
# )
@transaction.atomic @transaction.atomic
def create(self, request, **kwargs): def create(self, request, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment