X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Fhelpers%2Fimage-utils.ts;h=0065f4210319866683fd931e9b8652276fe2aba4;hb=19ca8ca93975d99c16ab94c1526a34be74f63b95;hp=ba57b5812c91f7961b736f46efd05db612f6a628;hpb=ac81d1a06d57b9ae86663831e7f5edcef57b0fa4;p=github%2FChocobozzz%2FPeerTube.git 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' import { unlinkPromise } from './core-utils' async function processImage ( - physicalFile: Express.Multer.File, + physicalFile: { path: string }, destination: string, newSize: { width: number, height: number } ) {