diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-16 15:22:39 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 20494f122186bb1bfd82f4c598c4744acea27b0c (patch) | |
tree | 097652a31ecf70491b970b6c8e06b22380ee004f /server/controllers/api | |
parent | efc32059d980c51793e8e9ac0fb6a885a8026f94 (diff) | |
download | PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.gz PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.zst PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.zip |
Server shares user videos
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/videos/channel.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/videos/channel.ts b/server/controllers/api/videos/channel.ts index 656bc3129..8f3df2550 100644 --- a/server/controllers/api/videos/channel.ts +++ b/server/controllers/api/videos/channel.ts | |||
@@ -10,7 +10,7 @@ import { | |||
10 | paginationValidator, | 10 | paginationValidator, |
11 | setPagination, | 11 | setPagination, |
12 | setVideoChannelsSort, | 12 | setVideoChannelsSort, |
13 | videoChannelGetValidator, | 13 | videoChannelsGetValidator, |
14 | videoChannelsAddValidator, | 14 | videoChannelsAddValidator, |
15 | videoChannelsRemoveValidator, | 15 | videoChannelsRemoveValidator, |
16 | videoChannelsSortValidator, | 16 | videoChannelsSortValidator, |
@@ -53,7 +53,7 @@ videoChannelRouter.delete('/channels/:id', | |||
53 | ) | 53 | ) |
54 | 54 | ||
55 | videoChannelRouter.get('/channels/:id', | 55 | videoChannelRouter.get('/channels/:id', |
56 | videoChannelGetValidator, | 56 | videoChannelsGetValidator, |
57 | asyncMiddleware(getVideoChannel) | 57 | asyncMiddleware(getVideoChannel) |
58 | ) | 58 | ) |
59 | 59 | ||