Fix avatar transaction retry

This commit is contained in:
Chocobozzz
2018-09-26 10:15:50 +02:00
parent 39ba2e8e3a
commit 4a534352ad
2 changed files with 9 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ videoChannelRouter.post('/:nameWithHost/avatar/pick',
// Check the rights
asyncMiddleware(videoChannelsUpdateValidator),
updateAvatarValidator,
asyncRetryTransactionMiddleware(updateVideoChannelAvatar)
asyncMiddleware(updateVideoChannelAvatar)
)
videoChannelRouter.put('/:nameWithHost',