allow addition of other types on playlists
This commit is contained in:
parent
027c0941bc
commit
019e2cf371
1 changed files with 1 additions and 1 deletions
|
@ -896,7 +896,7 @@ class PlaylistDetail(APIView):
|
||||||
|
|
||||||
if action in ["add", "remove", "ordering"]:
|
if action in ["add", "remove", "ordering"]:
|
||||||
media = Media.objects.filter(
|
media = Media.objects.filter(
|
||||||
friendly_token=media_friendly_token, state="public", media_type="video"
|
friendly_token=media_friendly_token, state="public"
|
||||||
).first()
|
).first()
|
||||||
if media:
|
if media:
|
||||||
if action == "add":
|
if action == "add":
|
||||||
|
|
Loading…
Add table
Reference in a new issue