chore(#29): update generate database types location

This commit is contained in:
OllyNicholass
2024-09-17 19:28:03 +01:00
parent 2b2e3e6063
commit 49a9b079ea
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY } from '$env/static/public';
import { createServerClient } from '@supabase/ssr';
import type { Handle } from '@sveltejs/kit';
import type { Database } from '$lib/generated/supabase-schema';
import type { Database } from '$lib/types/supabase';
export const handle: Handle = async ({ event, resolve }) => {
event.locals.supabase = createServerClient<Database>(