1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

fix: missing file name parameter (#8820)

This commit is contained in:
Johann150 2022-06-12 17:25:06 +02:00 committed by GitHub
parent 3c67a5c7d8
commit 963758d8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}