fix delete_videos param for delete playlist, #1019
This commit is contained in:
parent
aa58f03323
commit
b618a7c282
|
|
@ -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}`, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue