aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-07 21:46:44 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-07 21:46:44 +0200
commite95561cdf195d2926e1856ed285c2b86960bc86f (patch)
tree7f25c340e307fcbb13f77769b64e75603520ecc6 /server/controllers/api
parent0cee28c1b251b00067681286d136ca947cf34808 (diff)
downloadPeerTube-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')
-rw-r--r--server/controllers/api/videos/index.ts2
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)
95videosRouter.post('/', 95videosRouter.post('/upload',
96 authenticate, 96 authenticate,
97 reqFiles, 97 reqFiles,
98 videosAddValidator, 98 videosAddValidator,