mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix authenticated playlist video removal.
This commit is contained in:
parent
915a2fbabd
commit
0a0615fe42
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue