]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - test/api/friends.js
Add API versionning
[github/Chocobozzz/PeerTube.git] / test / api / friends.js
index 033d3799a2961b56528efc4ed8f52148e39d3975..845ccd1a8d0ec8e6d461afd22aecccb039ae3d31 100644 (file)
@@ -9,7 +9,7 @@
   var utils = require('../utils')
 
   function getFriendsList (url, end) {
-    var path = '/api/pods/'
+    var path = '/api/v1/pods/'
 
     request(url)
       .get(path)
@@ -75,7 +75,7 @@
         })
       }
 
-      var path = '/api/pods/makefriends'
+      var path = '/api/v1/pods/makefriends'
 
       // The second pod make friend with the third
       request(urls[1])