Skip to content

Commit 0c455cb

Browse files
committed
Dirty fix
1 parent 909c373 commit 0c455cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/infra/virustotal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Virustotal {
2121

2222
async upload_file(file_buffer: Buffer, endpoint: string) {
2323
const form = new FormData();
24-
form.append("file", new Blob([file_buffer]));
24+
form.append("file", new Blob([file_buffer as any /* FIXME */]));
2525
const upload_res = await axios.post(endpoint, form, {
2626
headers: {
2727
accept: "application/json",

0 commit comments

Comments
 (0)