diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:46:44 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:46:44 +0200 |
commit | e95561cdf195d2926e1856ed285c2b86960bc86f (patch) | |
tree | 7f25c340e307fcbb13f77769b64e75603520ecc6 /server/controllers/api/videos/index.ts | |
parent | 0cee28c1b251b00067681286d136ca947cf34808 (diff) | |
download | PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.tar.gz PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.tar.zst PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.zip |
Upload a video to /videos/upload
This is an action, not a REST endpoint
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r-- | server/controllers/api/videos/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index 3ec9d97bb..3a19fe989 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts | |||
@@ -92,7 +92,7 @@ videosRouter.put('/:id', | |||
92 | videosUpdateValidator, | 92 | videosUpdateValidator, |
93 | updateVideoRetryWrapper | 93 | updateVideoRetryWrapper |
94 | ) | 94 | ) |
95 | videosRouter.post('/', | 95 | videosRouter.post('/upload', |
96 | authenticate, | 96 | authenticate, |
97 | reqFiles, | 97 | reqFiles, |
98 | videosAddValidator, | 98 | videosAddValidator, |