mirror of https://github.com/Chocobozzz/PeerTube
Also fill avatar width for channels
parent
db1ccd05d3
commit
2e3f7a5a6f
|
@ -59,6 +59,7 @@ async function run () {
|
||||||
|
|
||||||
for (const videoChannel of account.VideoChannels) {
|
for (const videoChannel of account.VideoChannels) {
|
||||||
try {
|
try {
|
||||||
|
await fillAvatarSizeIfNeeded(videoChannel)
|
||||||
await generateSmallerAvatarIfNeeded(videoChannel)
|
await generateSmallerAvatarIfNeeded(videoChannel)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(`Cannot process channel avatar ${videoChannel.name}`, err)
|
console.error(`Cannot process channel avatar ${videoChannel.name}`, err)
|
||||||
|
|
Loading…
Reference in New Issue