diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-28 14:57:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-28 15:06:15 +0200 |
commit | 4fae2b1f300c1f027629569817262f60873a663a (patch) | |
tree | fabffae6d39aa13b19985f8c92730db2a721dceb /server/lib/video-channel.ts | |
parent | 4c8336af67bf4e570e227d5cb1fbcb7a53b3776e (diff) | |
download | PeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.gz PeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.zst PeerTube-4fae2b1f300c1f027629569817262f60873a663a.zip |
Rename video full loading
Diffstat (limited to 'server/lib/video-channel.ts')
-rw-r--r-- | server/lib/video-channel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-channel.ts b/server/lib/video-channel.ts index 2fd63a8c4..8322c9ad2 100644 --- a/server/lib/video-channel.ts +++ b/server/lib/video-channel.ts | |||
@@ -36,7 +36,7 @@ async function federateAllVideosOfChannel (videoChannel: MChannelId) { | |||
36 | const videoIds = await VideoModel.getAllIdsFromChannel(videoChannel) | 36 | const videoIds = await VideoModel.getAllIdsFromChannel(videoChannel) |
37 | 37 | ||
38 | for (const videoId of videoIds) { | 38 | for (const videoId of videoIds) { |
39 | const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(videoId) | 39 | const video = await VideoModel.loadFull(videoId) |
40 | 40 | ||
41 | await federateVideoIfNeeded(video, false) | 41 | await federateVideoIfNeeded(video, false) |
42 | } | 42 | } |