diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-18 08:16:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-18 08:16:44 +0100 |
commit | 2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b (patch) | |
tree | f2b28bc67d3b5100f6848ca5e48dfde25832fb70 /scripts/migrations/peertube-4.2.ts | |
parent | db1ccd05d349c400c658dec68d11c8b01c9ccd01 (diff) | |
download | PeerTube-2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b.tar.gz PeerTube-2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b.tar.zst PeerTube-2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b.zip |
Also fill avatar width for channels
Diffstat (limited to 'scripts/migrations/peertube-4.2.ts')
-rw-r--r-- | scripts/migrations/peertube-4.2.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 () { | |||
59 | 59 | ||
60 | for (const videoChannel of account.VideoChannels) { | 60 | for (const videoChannel of account.VideoChannels) { |
61 | try { | 61 | try { |
62 | await fillAvatarSizeIfNeeded(videoChannel) | ||
62 | await generateSmallerAvatarIfNeeded(videoChannel) | 63 | await generateSmallerAvatarIfNeeded(videoChannel) |
63 | } catch (err) { | 64 | } catch (err) { |
64 | console.error(`Cannot process channel avatar ${videoChannel.name}`, err) | 65 | console.error(`Cannot process channel avatar ${videoChannel.name}`, err) |