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',
});

14
package-lock.json generated
View File

@ -6001,19 +6001,6 @@
}
}
},
"node_modules/@ts-rest/open-api": {
"version": "3.30.5",
"resolved": "https://registry.npmjs.org/@ts-rest/open-api/-/open-api-3.30.5.tgz",
"integrity": "sha512-FOq6afvj6VCLMSQEO8J0B2YuZ2BfvQrscMy9i5rinI4sJO2/q17fdUqOoT9AI6n4coHCOFpcRUOz2xks7Nn5fA==",
"dependencies": {
"@anatine/zod-openapi": "^1.12.0",
"openapi3-ts": "^2.0.2"
},
"peerDependencies": {
"@ts-rest/core": "3.30.5",
"zod": "^3.22.3"
}
},
"node_modules/@tsconfig/node10": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
@ -19539,7 +19526,6 @@
"@trpc/server": "^10.36.0",
"@ts-rest/core": "^3.30.5",
"@ts-rest/next": "^3.30.5",
"@ts-rest/open-api": "^3.30.5",
"luxon": "^3.4.0",
"superjson": "^1.13.1",
"ts-pattern": "^5.0.5",

View File

@ -20,7 +20,6 @@
"@ts-rest/core": "^3.30.5",
"@ts-rest/next": "^3.30.5",
"luxon": "^3.4.0",
"@ts-rest/open-api": "^3.30.5",
"superjson": "^1.13.1",
"ts-pattern": "^5.0.5",
"zod": "^3.22.4"