There was an error while loading. Please reload this page.
1 parent 909c373 commit 0c455cbCopy full SHA for 0c455cb
1 file changed
src/infra/virustotal.ts
@@ -21,7 +21,7 @@ export class Virustotal {
21
22
async upload_file(file_buffer: Buffer, endpoint: string) {
23
const form = new FormData();
24
- form.append("file", new Blob([file_buffer]));
+ form.append("file", new Blob([file_buffer as any /* FIXME */]));
25
const upload_res = await axios.post(endpoint, form, {
26
headers: {
27
accept: "application/json",
0 commit comments