]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/image-utils.ts
fixing tests to deal with new transcoding parameters
[github/Chocobozzz/PeerTube.git] / server / helpers / image-utils.ts
index ba57b5812c91f7961b736f46efd05db612f6a628..0065f4210319866683fd931e9b8652276fe2aba4 100644 (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 }
 ) {