aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/live
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-28 14:57:51 +0200
committerChocobozzz <me@florianbigard.com>2022-06-28 15:06:15 +0200
commit4fae2b1f300c1f027629569817262f60873a663a (patch)
treefabffae6d39aa13b19985f8c92730db2a721dceb /server/lib/live
parent4c8336af67bf4e570e227d5cb1fbcb7a53b3776e (diff)
downloadPeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.gz
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.zst
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.zip
Rename video full loading
Diffstat (limited to 'server/lib/live')
-rw-r--r--server/lib/live/live-manager.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts
index d499b4b1a..74f203091 100644
--- a/server/lib/live/live-manager.ts
+++ b/server/lib/live/live-manager.ts
@@ -351,7 +351,7 @@ class LiveManager {
351 const videoId = live.videoId 351 const videoId = live.videoId
352 352
353 try { 353 try {
354 const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(videoId) 354 const video = await VideoModel.loadFull(videoId)
355 355
356 logger.info('Will publish and federate live %s.', video.url, localLTags) 356 logger.info('Will publish and federate live %s.', video.url, localLTags)
357 357
@@ -390,7 +390,7 @@ class LiveManager {
390 const { videoId, liveSession: liveSessionArg, cleanupNow = false } = options 390 const { videoId, liveSession: liveSessionArg, cleanupNow = false } = options
391 391
392 try { 392 try {
393 const fullVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(videoId) 393 const fullVideo = await VideoModel.loadFull(videoId)
394 if (!fullVideo) return 394 if (!fullVideo) return
395 395
396 const live = await VideoLiveModel.loadByVideoId(fullVideo.id) 396 const live = await VideoLiveModel.loadByVideoId(fullVideo.id)