mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 00:09:18 +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) => {
|
const deletePlaylist = async (playlistId: string, allVideos = false) => {
|
||||||
let params = '';
|
let params = '';
|
||||||
if (allVideos) {
|
if (allVideos) {
|
||||||
params = '?delete-videos=true';
|
params = '?delete_videos=true';
|
||||||
}
|
}
|
||||||
|
|
||||||
return APIClient(`/api/playlist/${playlistId}/${params}`, {
|
return APIClient(`/api/playlist/${playlistId}/${params}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user