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:
parent
e33b53abb3
commit
02988fdc0b
4 changed files with 14 additions and 7 deletions
|
@ -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 }
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue