diff options
Diffstat (limited to 'server/controllers/api/overviews.ts')
-rw-r--r-- | server/controllers/api/overviews.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/controllers/api/overviews.ts b/server/controllers/api/overviews.ts index 37ac152db..23706767a 100644 --- a/server/controllers/api/overviews.ts +++ b/server/controllers/api/overviews.ts | |||
@@ -98,10 +98,11 @@ async function getVideos ( | |||
98 | sort: '-createdAt', | 98 | sort: '-createdAt', |
99 | includeLocalVideos: true, | 99 | includeLocalVideos: true, |
100 | nsfw: buildNSFWFilter(res), | 100 | nsfw: buildNSFWFilter(res), |
101 | withFiles: false | 101 | withFiles: false, |
102 | countVideos: false | ||
102 | }, where) | 103 | }, where) |
103 | 104 | ||
104 | const { data } = await VideoModel.listForApi(query, false) | 105 | const { data } = await VideoModel.listForApi(query) |
105 | 106 | ||
106 | return data.map(d => d.toFormattedJSON()) | 107 | return data.map(d => d.toFormattedJSON()) |
107 | } | 108 | } |