Fix authenticated playlist video removal.

This commit is contained in:
Kavin 2022-07-26 08:49:48 +05:30 committed by GitHub
parent 915a2fbabd
commit 0a0615fe42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ export default {
removeVideo() {
if (confirm(this.$t("actions.delete_playlist_video_confirm"))) {
this.$refs.removeButton.disabled = true;
this.fetchJson(this.apiUrl() + "/user/playlists/remove", null, {
this.fetchJson(this.authApiUrl() + "/user/playlists/remove", null, {
method: "POST",
body: JSON.stringify({
playlistId: this.playlistId,