From ad858dd2e34fb2ff4662dc8c6d7f7b12e7995d87 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 ca12ab8d3..b3fd025ab 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(); }