From 6504b3bfd9477ddd4d70c44a3ee1a9a0537a16c9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Jul 2022 11:51:41 +0200 Subject: [PATCH] Fix videos stats --- server/models/video/video.ts | 1 - server/tests/api/live/live-save-replay.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 4f711b2fa..cdc1137be 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts @@ -1385,7 +1385,6 @@ export class VideoModel extends Model>> { count: 0, sort: '-publishedAt', nsfw: null, - isLocal: true, displayOnlyForFollower: { actorId: serverActor.id, orLocalVideos: true diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts index 7ddcb04ef..99ad3b2e1 100644 --- a/server/tests/api/live/live-save-replay.ts +++ b/server/tests/api/live/live-save-replay.ts @@ -316,7 +316,7 @@ describe('Save replay setting', function () { }) it('Should correctly terminate the stream on blacklist and blacklist the saved replay video', async function () { - this.timeout(40000) + this.timeout(120000) await publishLiveAndBlacklist({ permanent: false, replay: true }) @@ -412,7 +412,7 @@ describe('Save replay setting', function () { }) it('Should correctly terminate the stream on blacklist and blacklist the saved replay video', async function () { - this.timeout(60000) + this.timeout(120000) await servers[0].videos.remove({ id: lastReplayUUID }) const { liveDetails } = await publishLiveAndBlacklist({ permanent: true, replay: true })