fix: missing file name parameter (#8820)

This commit is contained in:
Johann150 2022-06-12 17:25:06 +02:00 committed by GitHub
parent 2bee52733b
commit ad858dd2e3

View File

@ -24,7 +24,7 @@ export async function GenerateVideoThumbnail(source: string): Promise<IImage> {
});
// JPEGに変換 (Webpでもいいが、MastodonはWebpをサポートせず表示できなくなる)
return await convertToJpeg(498, 280);
return await convertToJpeg(file, 498, 280);
} finally {
cleanup();
}