Upload a video to /videos/upload

This is an action, not a REST endpoint
This commit is contained in:
Chocobozzz
2017-09-07 21:46:44 +02:00
parent 0cee28c1b2
commit e95561cdf1
6 changed files with 49 additions and 28 deletions

View File

@@ -92,7 +92,7 @@ videosRouter.put('/:id',
videosUpdateValidator,
updateVideoRetryWrapper
)
videosRouter.post('/',
videosRouter.post('/upload',
authenticate,
reqFiles,
videosAddValidator,