mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 22:49:31 +00:00
fix delete_videos param for delete playlist, #1019
This commit is contained in:
@@ -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}`, {
|
||||
|
||||
Reference in New Issue
Block a user