allow addition of other types on playlists

This commit is contained in:
Markos Gogoulos 2021-01-20 11:04:10 +02:00
parent 027c0941bc
commit 019e2cf371

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", media_type="video"
friendly_token=media_friendly_token, state="public"
).first()
if media:
if action == "add":