]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/overviews.ts
More robust actor image lazy load
[github/Chocobozzz/PeerTube.git] / server / controllers / api / overviews.ts
index fb31932aa09d9df255cc2819e57198282b8813bc..ad879aad6c677bd33b80562be861a06afb340dca 100644 (file)
@@ -114,6 +114,7 @@ async function getVideos (
     sort: '-createdAt',
     includeLocalVideos: true,
     nsfw: buildNSFWFilter(res),
+    user: res.locals.oauth ? res.locals.oauth.token.User : undefined,
     withFiles: false,
     countVideos: false
   }, where)