Browse Source

Remove trailing spaces to pass codacy

pull/1115/head
Hironsan 3 years ago
parent
commit
b41d00b356
1 changed files with 1 additions and 1 deletions
  1. 2
      app/api/views.py

2
app/api/views.py

@ -226,7 +226,7 @@ class AnnotationList(generics.ListCreateAPIView):
def perform_create(self, serializer):
serializer.save(document_id=self.kwargs['doc_id'], user=self.request.user)
def delete(self, request, *args, **kwargs):
queryset = self.get_queryset()
queryset.all().delete()

Loading…
Cancel
Save