update packages
This commit is contained in:
parent
64f25f934b
commit
55e5b363f9
3 changed files with 8 additions and 5 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
|
@ -10,7 +10,7 @@
|
|||
"@elysiajs/html": "^1.0.2",
|
||||
"@elysiajs/jwt": "^1.0.2",
|
||||
"@elysiajs/static": "^1.0.3",
|
||||
"elysia": "^1.0.21",
|
||||
"elysia": "^1.0.22",
|
||||
"sharp": "^0.33.4"
|
||||
},
|
||||
"module": "src/index.tsx",
|
||||
|
|
@ -22,12 +22,12 @@
|
|||
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
|
||||
"@kitajs/ts-html-plugin": "^4.0.1",
|
||||
"@total-typescript/ts-reset": "^0.5.1",
|
||||
"@types/bun": "^1.1.2",
|
||||
"@types/bun": "^1.1.3",
|
||||
"@types/eslint": "^8.56.10",
|
||||
"@types/node": "^20.12.12",
|
||||
"@types/ws": "^8.5.10",
|
||||
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
||||
"@typescript-eslint/parser": "^7.9.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
||||
"@typescript-eslint/parser": "^7.10.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"prettier": "^3.2.5",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { randomUUID } from "node:crypto";
|
||||
import { mkdir, unlink } from "node:fs/promises";
|
||||
import { mkdir, unlink, rmdir } from "node:fs/promises";
|
||||
import cookie from "@elysiajs/cookie";
|
||||
import { html } from "@elysiajs/html";
|
||||
import { jwt } from "@elysiajs/jwt";
|
||||
|
|
@ -639,6 +639,9 @@ const app = new Elysia()
|
|||
"UPDATE jobs SET status = 'completed' WHERE id = ?",
|
||||
jobId.value,
|
||||
);
|
||||
|
||||
// delete all uploaded files in userUploadsDir
|
||||
rmdir(userUploadsDir, { recursive: true });
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error("Error in conversion process:", error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue