X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fmigrations%2Fpeertube-4.2.ts;h=b5e5dfebdb3af9c14673650014119f6c5374dc03;hb=2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b;hp=22f9ff9f00ee37bf9b2e8dedb0f877743c74b8ac;hpb=db1ccd05d349c400c658dec68d11c8b01c9ccd01;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/migrations/peertube-4.2.ts b/scripts/migrations/peertube-4.2.ts index 22f9ff9f0..b5e5dfebd 100644 --- a/scripts/migrations/peertube-4.2.ts +++ b/scripts/migrations/peertube-4.2.ts @@ -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)