Fix lint
Signed-off-by: Param Siddharth <contact@paramsid.com>
This commit is contained in:
parent
a033138e58
commit
8a0f05b0bc
1 changed files with 27 additions and 29 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue