mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 23:47:25 +00:00
Fix authenticated playlist video removal.
This commit is contained in:
parent
915a2fbabd
commit
0a0615fe42
@ -157,7 +157,7 @@ export default {
|
|||||||
removeVideo() {
|
removeVideo() {
|
||||||
if (confirm(this.$t("actions.delete_playlist_video_confirm"))) {
|
if (confirm(this.$t("actions.delete_playlist_video_confirm"))) {
|
||||||
this.$refs.removeButton.disabled = true;
|
this.$refs.removeButton.disabled = true;
|
||||||
this.fetchJson(this.apiUrl() + "/user/playlists/remove", null, {
|
this.fetchJson(this.authApiUrl() + "/user/playlists/remove", null, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
playlistId: this.playlistId,
|
playlistId: this.playlistId,
|
||||||
|
Loading…
Reference in New Issue
Block a user