aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/live
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/live')
-rw-r--r--server/lib/live/live-manager.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts
index 206e30d7d..649ad5195 100644
--- a/server/lib/live/live-manager.ts
+++ b/server/lib/live/live-manager.ts
@@ -483,6 +483,8 @@ class LiveManager {
483 483
484 private async saveEndingSession (videoId: number, error: LiveVideoError | null) { 484 private async saveEndingSession (videoId: number, error: LiveVideoError | null) {
485 const liveSession = await VideoLiveSessionModel.findCurrentSessionOf(videoId) 485 const liveSession = await VideoLiveSessionModel.findCurrentSessionOf(videoId)
486 if (!liveSession) return
487
486 liveSession.endDate = new Date() 488 liveSession.endDate = new Date()
487 liveSession.error = error 489 liveSession.error = error
488 490