From 9d5e07872dcc8cfe6d0eea7b7d8a10657bcfce81 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 21 Feb 2018 00:05:19 +0100 Subject: [PATCH] Removed dead code --- api/funkwhale_api/history/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/funkwhale_api/history/views.py b/api/funkwhale_api/history/views.py index 32bad6060..59dcbd26b 100644 --- a/api/funkwhale_api/history/views.py +++ b/api/funkwhale_api/history/views.py @@ -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: