aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-08 11:51:41 +0200
committerChocobozzz <me@florianbigard.com>2022-07-08 11:51:41 +0200
commit6504b3bfd9477ddd4d70c44a3ee1a9a0537a16c9 (patch)
tree23441f29ff576a50aa972bf5b414d4e4af2acce9 /server/models
parentc0e3d9ff9019fc3af9791bd20e1430724b2a043a (diff)
downloadPeerTube-6504b3bfd9477ddd4d70c44a3ee1a9a0537a16c9.tar.gz
PeerTube-6504b3bfd9477ddd4d70c44a3ee1a9a0537a16c9.tar.zst
PeerTube-6504b3bfd9477ddd4d70c44a3ee1a9a0537a16c9.zip
Fix videos stats
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video/video.ts1
1 files changed, 0 insertions, 1 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<Partial<AttributesOnly<VideoModel>>> {
1385 count: 0, 1385 count: 0,
1386 sort: '-publishedAt', 1386 sort: '-publishedAt',
1387 nsfw: null, 1387 nsfw: null,
1388 isLocal: true,
1389 displayOnlyForFollower: { 1388 displayOnlyForFollower: {
1390 actorId: serverActor.id, 1389 actorId: serverActor.id,
1391 orLocalVideos: true 1390 orLocalVideos: true