kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Removed dead code
rodzic
98b62caa24
commit
9d5e07872d
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue