moved loading logic to eventManager

This commit is contained in:
2026-05-23 20:14:58 +01:00
parent dff0d9441f
commit bbcb04f882

View File

@@ -1,6 +1,7 @@
import * as eventManager from '$lib/server/eventManager'; import { getAllInitialInfo } from '$lib/server/eventManager';
// Literally only here so that the frontend has the right structure // Literally only here so that the frontend has the right structure
export const load = async () => { export const load = async () => {
return await eventManager.getTeams(); return await getAllInitialInfo();
}; };