aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r--server/controllers/api/videos/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index 2b5afd632..244d91914 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -86,7 +86,7 @@ videosRouter.get('/',
86) 86)
87videosRouter.put('/:id', 87videosRouter.put('/:id',
88 authenticate, 88 authenticate,
89 videosUpdateValidator, 89 asyncMiddleware(videosUpdateValidator),
90 asyncMiddleware(updateVideoRetryWrapper) 90 asyncMiddleware(updateVideoRetryWrapper)
91) 91)
92videosRouter.post('/upload', 92videosRouter.post('/upload',
@@ -97,17 +97,17 @@ videosRouter.post('/upload',
97) 97)
98 98
99videosRouter.get('/:id/description', 99videosRouter.get('/:id/description',
100 videosGetValidator, 100 asyncMiddleware(videosGetValidator),
101 asyncMiddleware(getVideoDescription) 101 asyncMiddleware(getVideoDescription)
102) 102)
103videosRouter.get('/:id', 103videosRouter.get('/:id',
104 videosGetValidator, 104 asyncMiddleware(videosGetValidator),
105 getVideo 105 getVideo
106) 106)
107 107
108videosRouter.delete('/:id', 108videosRouter.delete('/:id',
109 authenticate, 109 authenticate,
110 videosRemoveValidator, 110 asyncMiddleware(videosRemoveValidator),
111 asyncMiddleware(removeVideoRetryWrapper) 111 asyncMiddleware(removeVideoRetryWrapper)
112) 112)
113 113