listing of cases based on db

This commit is contained in:
2025-07-10 08:31:45 +02:00
parent 40599f4ffa
commit 307894c980
2 changed files with 7 additions and 6 deletions

View File

@@ -1,10 +1,11 @@
import { getListOfVorgänge } from '$lib/server/vorgangService';
import { getListOfVorgänge, getVorgaenge } from '$lib/server/vorgangService';
import type { PageServerLoad } from '../../(token-based)/view/$types';
export const load: PageServerLoad = async () => {
const caseList = await getListOfVorgänge();
// const caseList = await getListOfVorgänge();
const caseList = getVorgaenge();
return {
caseList
};
return {
caseList
};
};