diff --git a/src/routes/api.ts b/src/lib/utils/api.ts similarity index 100% rename from src/routes/api.ts rename to src/lib/utils/api.ts diff --git a/src/routes/(app)/game/[id]/+page.server.ts b/src/routes/(app)/game/[id]/+page.server.ts index ae61aea..2af373e 100644 --- a/src/routes/(app)/game/[id]/+page.server.ts +++ b/src/routes/(app)/game/[id]/+page.server.ts @@ -1,6 +1,5 @@ import { error } from '@sveltejs/kit'; import prisma from '$lib/prisma.js'; -import { boardGameApi } from '../../api'; export const load = async ({ params, setHeaders, locals }) => { try {