diff --git a/server/api/application.post.ts b/server/api/application/index.post.ts similarity index 94% rename from server/api/application.post.ts rename to server/api/application/index.post.ts index ff71fb6..d2da71a 100644 --- a/server/api/application.post.ts +++ b/server/api/application/index.post.ts @@ -1,7 +1,7 @@ import { applicationCreateSchema } from '~~/shared/schemas/application'; -import authenticateRequest from '../utils/auth'; import { and, count, eq, sql } from 'drizzle-orm'; -import { jobPostingsTable, postingApplicantsTable } from '../db/schema'; +import authenticateRequest from '~~/server/utils/auth'; +import { jobPostingsTable, postingApplicantsTable } from '~~/server/db/schema'; export default defineEventHandler(async (event) => { const session = await authenticateRequest(event);