From 2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 Mar 2022 08:16:44 +0100 Subject: Also fill avatar width for channels --- scripts/migrations/peertube-4.2.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/migrations') 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) -- cgit v1.2.3