diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-03 15:33:30 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | 97969c4edf51b37eee691adba43368bb0fbb729b (patch) | |
tree | c1089f898fb936d75651630afcf406995eeb9fba /server/models/video/video.ts | |
parent | af4ae64f6faf38f8179f2e07d3cd4ad60006be92 (diff) | |
download | PeerTube-97969c4edf51b37eee691adba43368bb0fbb729b.tar.gz PeerTube-97969c4edf51b37eee691adba43368bb0fbb729b.tar.zst PeerTube-97969c4edf51b37eee691adba43368bb0fbb729b.zip |
Add check constraints live tests
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index aba8c8cf4..7e008f7ea 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -249,7 +249,7 @@ export type AvailableForListIDsOptions = { | |||
249 | [ScopeNames.WITH_LIVE]: { | 249 | [ScopeNames.WITH_LIVE]: { |
250 | include: [ | 250 | include: [ |
251 | { | 251 | { |
252 | model: VideoLiveModel, | 252 | model: VideoLiveModel.unscoped(), |
253 | required: false | 253 | required: false |
254 | } | 254 | } |
255 | ] | 255 | ] |