From 38b288cf58154771b19f11f3a62bf4e01c2005e8 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Mon, 11 Sep 2023 15:33:02 -0700 Subject: [PATCH] Remove unused import and move api helper to utils. --- src/{routes => lib/utils}/api.ts | 0 src/routes/(app)/game/[id]/+page.server.ts | 1 - 2 files changed, 1 deletion(-) rename src/{routes => lib/utils}/api.ts (100%) 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 {