Commit cec91ec2 authored by Ciaran Ainsworth's avatar Ciaran Ainsworth Committed by Georg Krause
Browse files

Fix linting issue

parent 896f648a
Pipeline #14389 passed with stages
in 5 minutes and 3 seconds
......@@ -56,7 +56,9 @@ class ListeningViewSet(
tracks = Track.objects.with_playable_uploads(
).select_related("artist", "album__artist", "attributed_to", "artist__attachment_cover")
"artist", "album__artist", "attributed_to", "artist__attachment_cover"
return queryset.prefetch_related(Prefetch("track", queryset=tracks))
def get_serializer_context(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment