aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/overviews.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/overviews.ts b/server/controllers/api/overviews.ts
index fb31932aa..ad879aad6 100644
--- a/server/controllers/api/overviews.ts
+++ b/server/controllers/api/overviews.ts
@@ -114,6 +114,7 @@ async function getVideos (
114 sort: '-createdAt', 114 sort: '-createdAt',
115 includeLocalVideos: true, 115 includeLocalVideos: true,
116 nsfw: buildNSFWFilter(res), 116 nsfw: buildNSFWFilter(res),
117 user: res.locals.oauth ? res.locals.oauth.token.User : undefined,
117 withFiles: false, 118 withFiles: false,
118 countVideos: false 119 countVideos: false
119 }, where) 120 }, where)