lint
This commit is contained in:
parent
7c55fde138
commit
ade5a91ec9
2 changed files with 16 additions and 16 deletions
|
|
@ -96,7 +96,7 @@ export const root = new Elysia().use(userService).get(
|
|||
},
|
||||
});
|
||||
|
||||
const { id } = await db.job.findFirst({
|
||||
const { id } = (await db.job.findFirst({
|
||||
where: {
|
||||
userId,
|
||||
},
|
||||
|
|
@ -106,7 +106,7 @@ export const root = new Elysia().use(userService).get(
|
|||
select: {
|
||||
id: true,
|
||||
},
|
||||
}) as { id: number };
|
||||
})) as { id: number };
|
||||
|
||||
if (!jobId) {
|
||||
return { message: "Cookies should be enabled to use this app." };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue