mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-08-15 20:34:07 +00:00
allow media of all states to be added to playlist (#154)
This commit is contained in:
@ -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":
|
||||
|
Reference in New Issue
Block a user