diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/cache/videos-preview-cache.ts | 3 |
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 @@ | |||
1 | import * as request from 'request' | ||
2 | import * as asyncLRU from 'async-lru' | 1 | import * as asyncLRU from 'async-lru' |
3 | import { join } from 'path' | 2 | import { join } from 'path' |
4 | import { createWriteStream } from 'fs' | 3 | import { createWriteStream } from 'fs' |
5 | import * as Promise from 'bluebird' | 4 | import * as Promise from 'bluebird' |
6 | 5 | ||
7 | import { database as db, CONFIG, CACHE } from '../../initializers' | 6 | import { database as db, CONFIG, CACHE } from '../../initializers' |
8 | import { logger, writeFilePromise, unlinkPromise } from '../../helpers' | 7 | import { logger, unlinkPromise } from '../../helpers' |
9 | import { VideoInstance } from '../../models' | 8 | import { VideoInstance } from '../../models' |
10 | import { fetchRemotePreview } from '../../lib' | 9 | import { fetchRemotePreview } from '../../lib' |
11 | 10 | ||