Signed-off-by: Param Siddharth <contact@paramsid.com>
This commit is contained in:
Param Siddharth 2025-10-21 14:13:14 +05:30
parent a033138e58
commit 8a0f05b0bc
No known key found for this signature in database
GPG key ID: 5BF26004D1BC6BBC

View file

@ -6,9 +6,7 @@ import { WEBROOT } from "../helpers/env";
import { userService } from "./user";
import { Jobs } from "../db/types";
export const deleteJob = new Elysia()
.use(userService)
.get(
export const deleteJob = new Elysia().use(userService).get(
"/delete/:userId/:jobId",
async ({ params, redirect, user }) => {
const job = db