forked from mirror/misskey
fix: missing file name parameter (#8820)
This commit is contained in:
parent
3c67a5c7d8
commit
963758d8ec
@ -24,7 +24,7 @@ export async function GenerateVideoThumbnail(source: string): Promise<IImage> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// JPEGに変換 (Webpでもいいが、MastodonはWebpをサポートせず表示できなくなる)
|
// JPEGに変換 (Webpでもいいが、MastodonはWebpをサポートせず表示できなくなる)
|
||||||
return await convertToJpeg(498, 280);
|
return await convertToJpeg(file, 498, 280);
|
||||||
} finally {
|
} finally {
|
||||||
cleanup();
|
cleanup();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user