X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Fapi%2Fvideo-channel.ts;h=1fa842d9c984b2a112c6184831666e113c5e9bb1;hb=24b9417cec5cc785a57b2fe169a1ae88b88801a4;hp=4ca5ba9bcef136ebfdc408ab590d47828a974b6b;hpb=4a534352ad046ca804f1f58ef5afb6e366e202b8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/api/video-channel.ts b/server/controllers/api/video-channel.ts index 4ca5ba9bc..1fa842d9c 100644 --- a/server/controllers/api/video-channel.ts +++ b/server/controllers/api/video-channel.ts @@ -46,7 +46,7 @@ videoChannelRouter.get('/', videoChannelRouter.post('/', authenticate, - videoChannelsAddValidator, + asyncMiddleware(videoChannelsAddValidator), asyncRetryTransactionMiddleware(addVideoChannel) )