refactor: move server-only code (resolves #2)
This commit is contained in:
@@ -4,7 +4,7 @@ import { extractFormData } from '$lib/extractFormData';
|
||||
import { resolve } from '$app/paths';
|
||||
|
||||
import * as v from 'valibot';
|
||||
import { ensureAuth } from '$lib/auth';
|
||||
import { ensureAuth } from '$lib/server/session';
|
||||
import { db } from '$lib/server/db';
|
||||
import { aktis } from '$lib/server/db/schema';
|
||||
export const load: PageServerLoad = async (event) => {
|
||||
|
||||
Reference in New Issue
Block a user