diff options
Diffstat (limited to 'server/lib/live/live-manager.ts')
-rw-r--r-- | server/lib/live/live-manager.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts index 649ad5195..41f89a2a4 100644 --- a/server/lib/live/live-manager.ts +++ b/server/lib/live/live-manager.ts | |||
@@ -475,7 +475,9 @@ class LiveManager { | |||
475 | private saveStartingSession (videoLive: MVideoLiveVideo) { | 475 | private saveStartingSession (videoLive: MVideoLiveVideo) { |
476 | const liveSession = new VideoLiveSessionModel({ | 476 | const liveSession = new VideoLiveSessionModel({ |
477 | startDate: new Date(), | 477 | startDate: new Date(), |
478 | liveVideoId: videoLive.videoId | 478 | liveVideoId: videoLive.videoId, |
479 | saveReplay: videoLive.saveReplay, | ||
480 | endingProcessed: false | ||
479 | }) | 481 | }) |
480 | 482 | ||
481 | return liveSession.save() | 483 | return liveSession.save() |