diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index 29f8a9b..8702055 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -1,6 +1,6 @@ import type { PageServerLoad } from './$types'; -import { fetchData } from '$lib/server/fetchData'; +import { fetchRooms } from '$lib/server/yukiotoko'; export const load: PageServerLoad = async ({ fetch }) => { - return await fetchData(); + return await fetchRooms(); };