mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 02:53:50 +00:00
chore(#29): update generate database types location
This commit is contained in:
+1
-1
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user