]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/video-channel.ts
Fix avatar transaction retry
[github/Chocobozzz/PeerTube.git] / server / controllers / api / video-channel.ts
index ff6bbe44c0b068ba533fbac53cc283a6b01ae7d7..4ca5ba9bcef136ebfdc408ab590d47828a974b6b 100644 (file)
@@ -56,7 +56,7 @@ videoChannelRouter.post('/:nameWithHost/avatar/pick',
   // Check the rights
   asyncMiddleware(videoChannelsUpdateValidator),
   updateAvatarValidator,
-  asyncRetryTransactionMiddleware(updateVideoChannelAvatar)
+  asyncMiddleware(updateVideoChannelAvatar)
 )
 
 videoChannelRouter.put('/:nameWithHost',