Cleanup, Typed Images

This commit is contained in:
Felix Kaspar
2023-11-16 01:06:20 +01:00
parent ae99ba0fab
commit 8f1f64f6c0
3 changed files with 13 additions and 6 deletions

View File

@@ -29,7 +29,6 @@ router.post("/:workflowUuid?", [
return new PdfFile(file.originalname.replace(/\.[^/.]+$/, ""), new Uint8Array(await file.buffer), RepresentationType.Uint8Array, file.originalname.replace(/\.[^/.]+$/, ""));
}));
// TODO: Enable if traverse & organize migration is done.
// Allow option to do it synchronously and just make a long request
if(req.body.async === "false") {
console.log("Don't do async");