diff --git a/frontend/src/api/actions/deletePlaylist.ts b/frontend/src/api/actions/deletePlaylist.ts index ce60e8cd..51adfc15 100644 --- a/frontend/src/api/actions/deletePlaylist.ts +++ b/frontend/src/api/actions/deletePlaylist.ts @@ -3,7 +3,7 @@ import APIClient from '../../functions/APIClient'; const deletePlaylist = async (playlistId: string, allVideos = false) => { let params = ''; if (allVideos) { - params = '?delete-videos=true'; + params = '?delete_videos=true'; } return APIClient(`/api/playlist/${playlistId}/${params}`, {