final touches
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type { PageServerLoad } from './$types';
|
||||
import { getPostingFullData, getPostings } from '$lib/db/index.server';
|
||||
import { getPostingWithCompanyUser, getPostings } from '$lib/db/index.server';
|
||||
|
||||
export const load: PageServerLoad = async ({ params }) => {
|
||||
return {
|
||||
posting: await getPostingFullData(parseInt(params.posting))
|
||||
posting: await getPostingWithCompanyUser(parseInt(params.posting))
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user