Fix:Remove from playlist button #987

This commit is contained in:
advplyr 2024-03-04 14:56:58 -06:00
parent 752e918d26
commit 65d90947c5

View file

@ -481,8 +481,8 @@ export default {
this.$emit('update:processing', true)
let url = `/api/playlists/${this.playlist.id}/item/${this.serverLibraryItemId}`
if (this.serverEpisodeId) url += `/${this.serverEpisodeId}`
this.$axios
.$delete(url)
this.$nativeHttp
.delete(url)
.then(() => {
this.$toast.success('Item removed from playlist')
})