aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/cache/videos-preview-cache.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/cache/videos-preview-cache.ts b/server/lib/cache/videos-preview-cache.ts
index 9d365e496..09e2e9a0d 100644
--- a/server/lib/cache/videos-preview-cache.ts
+++ b/server/lib/cache/videos-preview-cache.ts
@@ -1,11 +1,10 @@
1import * as request from 'request'
2import * as asyncLRU from 'async-lru' 1import * as asyncLRU from 'async-lru'
3import { join } from 'path' 2import { join } from 'path'
4import { createWriteStream } from 'fs' 3import { createWriteStream } from 'fs'
5import * as Promise from 'bluebird' 4import * as Promise from 'bluebird'
6 5
7import { database as db, CONFIG, CACHE } from '../../initializers' 6import { database as db, CONFIG, CACHE } from '../../initializers'
8import { logger, writeFilePromise, unlinkPromise } from '../../helpers' 7import { logger, unlinkPromise } from '../../helpers'
9import { VideoInstance } from '../../models' 8import { VideoInstance } from '../../models'
10import { fetchRemotePreview } from '../../lib' 9import { fetchRemotePreview } from '../../lib'
11 10