aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-18 08:16:44 +0100
committerChocobozzz <me@florianbigard.com>2022-03-18 08:16:44 +0100
commit2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b (patch)
treef2b28bc67d3b5100f6848ca5e48dfde25832fb70
parentdb1ccd05d349c400c658dec68d11c8b01c9ccd01 (diff)
downloadPeerTube-2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b.tar.gz
PeerTube-2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b.tar.zst
PeerTube-2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b.zip
Also fill avatar width for channels
-rw-r--r--scripts/migrations/peertube-4.2.ts1
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)