diff options
Diffstat (limited to 'server/lib/avatar.ts')
-rw-r--r-- | server/lib/avatar.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/avatar.ts b/server/lib/avatar.ts index e79cd1546..86f1e7bdb 100644 --- a/server/lib/avatar.ts +++ b/server/lib/avatar.ts | |||
@@ -65,7 +65,7 @@ const downloadImageQueue = queue<DownloadImageQueueTask, Error>((task, cb) => { | |||
65 | }, QUEUE_CONCURRENCY.AVATAR_PROCESS_IMAGE) | 65 | }, QUEUE_CONCURRENCY.AVATAR_PROCESS_IMAGE) |
66 | 66 | ||
67 | function pushAvatarProcessInQueue (task: DownloadImageQueueTask) { | 67 | function pushAvatarProcessInQueue (task: DownloadImageQueueTask) { |
68 | return new Promise((res, rej) => { | 68 | return new Promise<void>((res, rej) => { |
69 | downloadImageQueue.push(task, err => { | 69 | downloadImageQueue.push(task, err => { |
70 | if (err) return rej(err) | 70 | if (err) return rej(err) |
71 | 71 | ||