diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2015-11-06 17:34:15 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2015-11-06 17:34:31 +0100 |
commit | f5a60a5138135a3412dfbcfd6e564f7aa47a55c2 (patch) | |
tree | 2516f410a33792f9112b4b4253929e5292908a3f /src/videos.js | |
parent | a6fa7ac141637a5026388157084c439f920c5ff1 (diff) | |
download | PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.tar.gz PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.tar.zst PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.zip |
Add API versionning
Diffstat (limited to 'src/videos.js')
-rw-r--r-- | src/videos.js | 4 |
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 |