Files
FBLA25/src/routes/postings/[posting]/+page.server.ts
T
drake 77655c779d
ci / docker_image (push) Successful in 1m37s
ci / deploy (push) Successful in 16s
import cleanup
2025-03-29 18:13:02 -05:00

9 lines
261 B
TypeScript

import type { PageServerLoad } from './$types';
import { getPostingWithCompanyUser } from '$lib/db/index.server';
export const load: PageServerLoad = async ({ params }) => {
return {
posting: await getPostingWithCompanyUser(parseInt(params.posting))
};
};