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 /test/api/friends.js | |
parent | a6fa7ac141637a5026388157084c439f920c5ff1 (diff) | |
download | PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.tar.gz PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.tar.zst PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.zip |
Add API versionning
Diffstat (limited to 'test/api/friends.js')
-rw-r--r-- | test/api/friends.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/api/friends.js b/test/api/friends.js index 033d3799a..845ccd1a8 100644 --- a/test/api/friends.js +++ b/test/api/friends.js | |||
@@ -9,7 +9,7 @@ | |||
9 | var utils = require('../utils') | 9 | var utils = require('../utils') |
10 | 10 | ||
11 | function getFriendsList (url, end) { | 11 | function getFriendsList (url, end) { |
12 | var path = '/api/pods/' | 12 | var path = '/api/v1/pods/' |
13 | 13 | ||
14 | request(url) | 14 | request(url) |
15 | .get(path) | 15 | .get(path) |
@@ -75,7 +75,7 @@ | |||
75 | }) | 75 | }) |
76 | } | 76 | } |
77 | 77 | ||
78 | var path = '/api/pods/makefriends' | 78 | var path = '/api/v1/pods/makefriends' |
79 | 79 | ||
80 | // The second pod make friend with the third | 80 | // The second pod make friend with the third |
81 | request(urls[1]) | 81 | request(urls[1]) |