Skip to content

Commit

Permalink
Removed unused Response in ImageUploadView
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxon470 committed Jun 29, 2019
1 parent 9b916de commit 5d7d8f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/upload/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def post(self, request, *args, **kwargs):
if serializer.is_valid(raise_exception=True):
serializer.save()
return Response({}, status=status.HTTP_200_OK)
return Response(serializer.errors, status=status.HTTP_200_OK)


class ImageFilterView(ListAPIView):
Expand Down

0 comments on commit 5d7d8f6

Please sign in to comment.