]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/migrations/peertube-4.2.ts
Also fill avatar width for channels
[github/Chocobozzz/PeerTube.git] / scripts / migrations / peertube-4.2.ts
index 22f9ff9f00ee37bf9b2e8dedb0f877743c74b8ac..b5e5dfebdb3af9c14673650014119f6c5374dc03 100644 (file)
@@ -59,6 +59,7 @@ async function run () {
 
     for (const videoChannel of account.VideoChannels) {
       try {
+        await fillAvatarSizeIfNeeded(videoChannel)
         await generateSmallerAvatarIfNeeded(videoChannel)
       } catch (err) {
         console.error(`Cannot process channel avatar ${videoChannel.name}`, err)