diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-15 18:40:24 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-15 18:40:24 +0100 |
commit | 02988fdc0bdd345bddf89171d258822cab4229d6 (patch) | |
tree | 7c8fb4385e9175bc8701588bd9bf1a71c68a3d2c /server/helpers/image-utils.ts | |
parent | e33b53abb397fd4d3e7e94829f2099601f03657c (diff) | |
download | PeerTube-02988fdc0bdd345bddf89171d258822cab4229d6.tar.gz PeerTube-02988fdc0bdd345bddf89171d258822cab4229d6.tar.zst PeerTube-02988fdc0bdd345bddf89171d258822cab4229d6.zip |
Fix remote image fetching
Diffstat (limited to 'server/helpers/image-utils.ts')
-rw-r--r-- | server/helpers/image-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/image-utils.ts b/server/helpers/image-utils.ts index ba57b5812..0065f4210 100644 --- a/server/helpers/image-utils.ts +++ b/server/helpers/image-utils.ts | |||
@@ -3,7 +3,7 @@ import * as sharp from 'sharp' | |||
3 | import { unlinkPromise } from './core-utils' | 3 | import { unlinkPromise } from './core-utils' |
4 | 4 | ||
5 | async function processImage ( | 5 | async function processImage ( |
6 | physicalFile: Express.Multer.File, | 6 | physicalFile: { path: string }, |
7 | destination: string, | 7 | destination: string, |
8 | newSize: { width: number, height: number } | 8 | newSize: { width: number, height: number } |
9 | ) { | 9 | ) { |