aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-26 12:03:44 +0200
committerChocobozzz <me@florianbigard.com>2021-05-26 12:03:44 +0200
commitf49b3231d080767128c80dca7630a1ba9950ed12 (patch)
tree0cdd306d838e31834032e6f1d1f0593908b4af69 /server
parent53e7f82fe394eff220e1b76aa4d2b6018ed26267 (diff)
downloadPeerTube-f49b3231d080767128c80dca7630a1ba9950ed12.tar.gz
PeerTube-f49b3231d080767128c80dca7630a1ba9950ed12.tar.zst
PeerTube-f49b3231d080767128c80dca7630a1ba9950ed12.zip
Fix broken lives handling
Diffstat (limited to 'server')
-rw-r--r--server/models/video/video.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 8c316e00c..18afba1ba 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1008,6 +1008,7 @@ export class VideoModel extends Model {
1008 attributes: [ 'id' ], 1008 attributes: [ 'id' ],
1009 where: { 1009 where: {
1010 isLive: true, 1010 isLive: true,
1011 remote: false,
1011 state: VideoState.PUBLISHED 1012 state: VideoState.PUBLISHED
1012 } 1013 }
1013 } 1014 }