aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/image-utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-15 18:40:24 +0100
committerChocobozzz <me@florianbigard.com>2018-02-15 18:40:24 +0100
commit02988fdc0bdd345bddf89171d258822cab4229d6 (patch)
tree7c8fb4385e9175bc8701588bd9bf1a71c68a3d2c /server/helpers/image-utils.ts
parente33b53abb397fd4d3e7e94829f2099601f03657c (diff)
downloadPeerTube-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.ts2
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'
3import { unlinkPromise } from './core-utils' 3import { unlinkPromise } from './core-utils'
4 4
5async function processImage ( 5async 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) {