fix delete_videos param for delete playlist, #1019

This commit is contained in:
Simon 2025-08-08 13:06:36 +07:00
parent aa58f03323
commit b618a7c282
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 1 deletions

View File

@ -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}`, {