Fix delete on full playlist view
This commit is contained in:
parent
febe1a703c
commit
46374ef2b5
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ export const PlaylistDetailSongListHeaderFilters = ({
|
|||
const handleDeletePlaylist = useCallback(() => {
|
||||
if (!detailQuery.data) return;
|
||||
deletePlaylistMutation?.mutate(
|
||||
{ query: { id: detailQuery.data.id }, serverId: detailQuery.data.id },
|
||||
{ query: { id: detailQuery.data.id }, serverId: detailQuery.data.serverId },
|
||||
{
|
||||
onError: (err) => {
|
||||
toast.error({
|
||||
|
|
Reference in a new issue