diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-26 10:15:50 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-26 10:15:50 +0200 |
commit | 4a534352ad046ca804f1f58ef5afb6e366e202b8 (patch) | |
tree | b6fab0e840a466aa61b094ae7019217a7db1eb92 /server/controllers/api/video-channel.ts | |
parent | 39ba2e8e3a71961cd0087c57d25905f6a97a6b69 (diff) | |
download | PeerTube-4a534352ad046ca804f1f58ef5afb6e366e202b8.tar.gz PeerTube-4a534352ad046ca804f1f58ef5afb6e366e202b8.tar.zst PeerTube-4a534352ad046ca804f1f58ef5afb6e366e202b8.zip |
Fix avatar transaction retry
Diffstat (limited to 'server/controllers/api/video-channel.ts')
-rw-r--r-- | server/controllers/api/video-channel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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', | |||
56 | // Check the rights | 56 | // Check the rights |
57 | asyncMiddleware(videoChannelsUpdateValidator), | 57 | asyncMiddleware(videoChannelsUpdateValidator), |
58 | updateAvatarValidator, | 58 | updateAvatarValidator, |
59 | asyncRetryTransactionMiddleware(updateVideoChannelAvatar) | 59 | asyncMiddleware(updateVideoChannelAvatar) |
60 | ) | 60 | ) |
61 | 61 | ||
62 | videoChannelRouter.put('/:nameWithHost', | 62 | videoChannelRouter.put('/:nameWithHost', |