allow media of all states to be added to playlist (#154)

This commit is contained in:
Markos Gogoulos
2021-04-26 16:32:18 +03:00
committed by GitHub
parent be41c6876d
commit adf3d4377f
2 changed files with 2 additions and 2 deletions

View File

@ -896,7 +896,7 @@ class PlaylistDetail(APIView):
if action in ["add", "remove", "ordering"]:
media = Media.objects.filter(
friendly_token=media_friendly_token, state="public"
friendly_token=media_friendly_token
).first()
if media:
if action == "add":