From 963758d8ecc7b83838c3994e42405fc0e965c799 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sun, 12 Jun 2022 17:25:06 +0200 Subject: [PATCH] fix: missing file name parameter (#8820) --- packages/backend/src/services/drive/generate-video-thumbnail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/services/drive/generate-video-thumbnail.ts b/packages/backend/src/services/drive/generate-video-thumbnail.ts index ca12ab8d3d..b3fd025abc 100644 --- a/packages/backend/src/services/drive/generate-video-thumbnail.ts +++ b/packages/backend/src/services/drive/generate-video-thumbnail.ts @@ -24,7 +24,7 @@ export async function GenerateVideoThumbnail(source: string): Promise { }); // JPEGに変換 (Webpでもいいが、MastodonはWebpをサポートせず表示できなくなる) - return await convertToJpeg(498, 280); + return await convertToJpeg(file, 498, 280); } finally { cleanup(); }