Skip to content
Snippets Groups Projects
Unverified Commit 963758d8 authored by Johann150's avatar Johann150 Committed by GitHub
Browse files

fix: missing file name parameter (#8820)

parent 3c67a5c7
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ export async function GenerateVideoThumbnail(source: string): Promise<IImage> { ...@@ -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();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment