mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 08:13:33 +01:00
allow addition of other types on playlists
This commit is contained in:
parent
027c0941bc
commit
019e2cf371
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user