aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/files-cache/videos-preview-cache.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/files-cache/videos-preview-cache.ts')
-rw-r--r--server/lib/files-cache/videos-preview-cache.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/files-cache/videos-preview-cache.ts b/server/lib/files-cache/videos-preview-cache.ts
index 51146d718..47488da74 100644
--- a/server/lib/files-cache/videos-preview-cache.ts
+++ b/server/lib/files-cache/videos-preview-cache.ts
@@ -28,6 +28,7 @@ class VideosPreviewCache extends AbstractVideoStaticFileCache <string> {
28 return this.loadRemoteFile(thumbnail.Video.uuid) 28 return this.loadRemoteFile(thumbnail.Video.uuid)
29 } 29 }
30 30
31 // Key is the video UUID
31 protected async loadRemoteFile (key: string) { 32 protected async loadRemoteFile (key: string) {
32 const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(key) 33 const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(key)
33 if (!video) return undefined 34 if (!video) return undefined