1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix remote image fetching

This commit is contained in:
Chocobozzz 2018-02-15 18:40:24 +01:00
parent e33b53abb3
commit 02988fdc0b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 14 additions and 7 deletions

View file

@ -3,7 +3,7 @@ import * as sharp from 'sharp'
import { unlinkPromise } from './core-utils'
async function processImage (
physicalFile: Express.Multer.File,
physicalFile: { path: string },
destination: string,
newSize: { width: number, height: number }
) {