Skip to content

Commit cd359e4

Browse files
committed
chore(api): restructure route dir
1 parent 2740e50 commit cd359e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/api/application.post.ts server/api/application/index.post.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { applicationCreateSchema } from '~~/shared/schemas/application';
2-
import authenticateRequest from '../utils/auth';
32
import { and, count, eq, sql } from 'drizzle-orm';
4-
import { jobPostingsTable, postingApplicantsTable } from '../db/schema';
3+
import authenticateRequest from '~~/server/utils/auth';
4+
import { jobPostingsTable, postingApplicantsTable } from '~~/server/db/schema';
55

66
export default defineEventHandler(async (event) => {
77
const session = await authenticateRequest(event);

0 commit comments

Comments
 (0)