From 0a0615fe428cce86f30959aa780a2bb9cab1a936 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 26 Jul 2022 08:49:48 +0530 Subject: [PATCH] Fix authenticated playlist video removal. --- src/components/VideoItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VideoItem.vue b/src/components/VideoItem.vue index 326a9a7b..d32706e2 100644 --- a/src/components/VideoItem.vue +++ b/src/components/VideoItem.vue @@ -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,