diff options
Diffstat (limited to 'server/models/video/video-playlist.ts')
-rw-r--r-- | server/models/video/video-playlist.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video-playlist.ts b/server/models/video/video-playlist.ts index 8fb3d5f15..00cca0549 100644 --- a/server/models/video/video-playlist.ts +++ b/server/models/video/video-playlist.ts | |||
@@ -617,11 +617,11 @@ export class VideoPlaylistModel extends Model<Partial<AttributesOnly<VideoPlayli | |||
617 | const totalLocalPlaylists = await VideoPlaylistModel.count({ | 617 | const totalLocalPlaylists = await VideoPlaylistModel.count({ |
618 | include: [ | 618 | include: [ |
619 | { | 619 | { |
620 | model: AccountModel, | 620 | model: AccountModel.unscoped(), |
621 | required: true, | 621 | required: true, |
622 | include: [ | 622 | include: [ |
623 | { | 623 | { |
624 | model: ActorModel, | 624 | model: ActorModel.unscoped(), |
625 | required: true, | 625 | required: true, |
626 | where: { | 626 | where: { |
627 | serverId: null | 627 | serverId: null |