diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:22:17 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:22:17 +0200 |
commit | aa2e7f1501ce108e0c250538aba7046fddefc935 (patch) | |
tree | c1ef2d2f4b75bcacb54a4ac396bd668ec3b7168d /server/controllers/api/pods.ts | |
parent | 337c258e77b28bb39e61b7b88cbdaa18363b9461 (diff) | |
download | PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.gz PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.zst PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.zip |
urls: makefriends/quitfriends -> make-friends/quit-friends
Diffstat (limited to 'server/controllers/api/pods.ts')
-rw-r--r-- | server/controllers/api/pods.ts | 4 |
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 | ) |
38 | podsRouter.post('/makefriends', | 38 | podsRouter.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 | ) |
45 | podsRouter.get('/quitfriends', | 45 | podsRouter.get('/quit-friends', |
46 | authenticate, | 46 | authenticate, |
47 | ensureIsAdmin, | 47 | ensureIsAdmin, |
48 | quitFriendsController | 48 | quitFriendsController |