aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/videos.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/videos.js')
-rw-r--r--src/videos.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/videos.js b/src/videos.js
index 48ec19d4d..f787ae49c 100644
--- a/src/videos.js
+++ b/src/videos.js
@@ -73,7 +73,7 @@
73 logger.debug('Sending this video Uri to friends...') 73 logger.debug('Sending this video Uri to friends...')
74 74
75 var data = { 75 var data = {
76 path: '/api/remotevideos/add', 76 path: '/api/' + global.API_VERSION + '/remotevideos/add',
77 method: 'POST', 77 method: 'POST',
78 data: params 78 data: params
79 } 79 }
@@ -130,7 +130,7 @@
130 } 130 }
131 131
132 var data = { 132 var data = {
133 path: '/api/remotevideos/remove', 133 path: '/api/' + global.API_VERSION + '/remotevideos/remove',
134 method: 'POST', 134 method: 'POST',
135 data: { 135 data: {
136 magnetUri: video.magnetUri 136 magnetUri: video.magnetUri