Fix preview 404

This commit is contained in:
Chocobozzz
2017-12-28 08:49:08 +01:00
parent d50acfab69
commit f40bbe3146
2 changed files with 3 additions and 2 deletions

View File

@@ -56,7 +56,6 @@ class VideosPreviewCache {
}
private saveRemotePreviewAndReturnPath (video: VideoModel) {
return new Promise<string>((res, rej) => {
const req = fetchRemoteVideoPreview(video, rej)
const path = join(CACHE.DIRECTORIES.PREVIEWS, video.getPreviewName())