aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-07 21:22:17 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-07 21:22:17 +0200
commitaa2e7f1501ce108e0c250538aba7046fddefc935 (patch)
treec1ef2d2f4b75bcacb54a4ac396bd668ec3b7168d /server/controllers
parent337c258e77b28bb39e61b7b88cbdaa18363b9461 (diff)
downloadPeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.gz
PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.zst
PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.zip
urls: makefriends/quitfriends -> make-friends/quit-friends
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/pods.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/pods.ts b/server/controllers/api/pods.ts
index e1fa4b7e8..e1e8ff6ca 100644
--- a/server/controllers/api/pods.ts
+++ b/server/controllers/api/pods.ts
@@ -35,14 +35,14 @@ podsRouter.post('/',
35 podsAddValidator, 35 podsAddValidator,
36 addPods 36 addPods
37) 37)
38podsRouter.post('/makefriends', 38podsRouter.post('/make-friends',
39 authenticate, 39 authenticate,
40 ensureIsAdmin, 40 ensureIsAdmin,
41 makeFriendsValidator, 41 makeFriendsValidator,
42 setBodyHostsPort, 42 setBodyHostsPort,
43 makeFriendsController 43 makeFriendsController
44) 44)
45podsRouter.get('/quitfriends', 45podsRouter.get('/quit-friends',
46 authenticate, 46 authenticate,
47 ensureIsAdmin, 47 ensureIsAdmin,
48 quitFriendsController 48 quitFriendsController