From 4a534352ad046ca804f1f58ef5afb6e366e202b8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Sep 2018 10:15:50 +0200 Subject: Fix avatar transaction retry --- server/controllers/api/video-channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers') diff --git a/server/controllers/api/video-channel.ts b/server/controllers/api/video-channel.ts index ff6bbe44c..4ca5ba9bc 100644 --- a/server/controllers/api/video-channel.ts +++ b/server/controllers/api/video-channel.ts @@ -56,7 +56,7 @@ videoChannelRouter.post('/:nameWithHost/avatar/pick', // Check the rights asyncMiddleware(videoChannelsUpdateValidator), updateAvatarValidator, - asyncRetryTransactionMiddleware(updateVideoChannelAvatar) + asyncMiddleware(updateVideoChannelAvatar) ) videoChannelRouter.put('/:nameWithHost', -- cgit v1.2.3