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 { userService } from "./user";
|
||||||
import { Jobs } from "../db/types";
|
import { Jobs } from "../db/types";
|
||||||
|
|
||||||
export const deleteJob = new Elysia()
|
export const deleteJob = new Elysia().use(userService).get(
|
||||||
.use(userService)
|
|
||||||
.get(
|
|
||||||
"/delete/:userId/:jobId",
|
"/delete/:userId/:jobId",
|
||||||
async ({ params, redirect, user }) => {
|
async ({ params, redirect, user }) => {
|
||||||
const job = db
|
const job = db
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue