chore: small changes

This commit is contained in:
Catalin Pit
2023-12-06 16:53:34 +00:00
parent 6c5526dd49
commit 11ae6d3c16
3 changed files with 1 additions and 18 deletions

View File

@ -133,9 +133,7 @@ const router = createNextRoute(contract, {
const match = body.toString().match(regexPattern);
const documentTitle = match?.[1] ?? 'Untitled document';
console.log(body.toString());
const file = new Blob([body.toString()], {
const file = new Blob([body], {
type: 'application/pdf',
});