hrms-exam/cms/src/routes/qualifying/+page.server.ts

9 lines
212 B
TypeScript
Raw Normal View History

2023-03-27 16:43:56 +07:00
import {getExams} from "$lib/data/qualify-exam"
import type { PageServerLoad } from './$types'
export const load: PageServerLoad = async () => {
const exams = await getExams()
return {exams}
}