return only content

This commit is contained in:
Jonathan Baecker 2020-07-29 11:13:20 +02:00
parent 762c9308ab
commit 098132f4d4

View File

@ -171,8 +171,7 @@ class Playlist(APIView):
if 'data' in request.data:
return write_json(request.data['data'])
return Response({'detail': 'Unspecified save error'},
status=status.HTTP_400_BAD_REQUEST)
return Response({'detail': 'Unspecified save error'})
class Statistics(APIView):