refactor: clarify file naming auth.ts (resolves #9)
Commit / ci (push) Has been cancelled
PullRequest / publish (pull_request) Failing after 2m18s

This commit is contained in:
2026-04-03 13:26:57 +02:00
parent 2e16cf9d51
commit b2d2d46db7
5 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { getSession as getSession } from '$lib/auth';
import { getSession as getSession } from '$lib/session';
import type { LayoutServerLoad } from './$types';
export const load: LayoutServerLoad = async (event) => {
+1 -1
View File
@@ -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/session';
import { db } from '$lib/server/db';
import { aktis } from '$lib/server/db/schema';
export const load: PageServerLoad = async (event) => {
+1 -1
View File
@@ -3,7 +3,7 @@ import { aktis, ratings } from '$lib/server/db/schema';
import { error, redirect, type Actions } from '@sveltejs/kit';
import { and, eq } from 'drizzle-orm';
import type { PageServerLoad } from './$types';
import { ensureAuth } from '$lib/auth';
import { ensureAuth } from '$lib/session';
import { extractFormData } from '$lib/extractFormData';
import * as v from 'valibot';
import { resolve } from '$app/paths';
@@ -1,5 +1,5 @@
import type { PageServerLoad } from './$types';
import { ensureAuth } from '$lib/auth';
import { ensureAuth } from '$lib/session';
import { error, redirect, type Actions } from '@sveltejs/kit';
import { extractFormData } from '$lib/extractFormData';
import { aktis, ratings } from '$lib/server/db/schema';