Skip to content
Snippets Groups Projects
Verified Commit 9d5e0787 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Removed dead code

parent 98b62caa
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,6 @@ class ListeningViewSet(mixins.CreateModelMixin,
queryset = models.Listening.objects.all()
permission_classes = [ConditionalAuthentication]
def create(self, request, *args, **kwargs):
return super().create(request, *args, **kwargs)
def get_queryset(self):
queryset = super().get_queryset()
if self.request.user.is_authenticated:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment