aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/overviews.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-10 11:06:36 +0100
committerChocobozzz <me@florianbigard.com>2020-11-10 11:06:36 +0100
commit52a350a15c34aa13bffaeedeb39de37cb0534fde (patch)
tree54bd2dcb4b7e918eb5b77bc6aa7d0db5de16dbe0 /server/controllers/api/overviews.ts
parentd88c490d38aa7c75c42aeaa15fc412f53f48811c (diff)
downloadPeerTube-52a350a15c34aa13bffaeedeb39de37cb0534fde.tar.gz
PeerTube-52a350a15c34aa13bffaeedeb39de37cb0534fde.tar.zst
PeerTube-52a350a15c34aa13bffaeedeb39de37cb0534fde.zip
Fix muted accounts on overviews
Diffstat (limited to 'server/controllers/api/overviews.ts')
-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)