diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 0f66041..4cf52f4 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -24,4 +24,4 @@ jobs: - name: Svelte Check run: bun check - name: Prisma Check - run: bun prisma:validate \ No newline at end of file + run: bun prisma:validate diff --git a/src/lib/index.ts b/src/lib/index.ts index c7ab773..856f2b6 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1 +1 @@ -// place files you want to import through the `$lib` alias in this folder. \ No newline at end of file +// place files you want to import through the `$lib` alias in this folder. diff --git a/src/lib/server/auth/index.ts b/src/lib/server/auth/index.ts index 339c850..280c94c 100644 --- a/src/lib/server/auth/index.ts +++ b/src/lib/server/auth/index.ts @@ -19,4 +19,4 @@ export async function validateSession(event: ServerLoadEvent) { redirect(302, '/login'); } return session; -} \ No newline at end of file +} diff --git a/src/lib/server/pothos/schema/posts.ts b/src/lib/server/pothos/schema/posts.ts index e02647b..420a760 100644 --- a/src/lib/server/pothos/schema/posts.ts +++ b/src/lib/server/pothos/schema/posts.ts @@ -107,4 +107,4 @@ builder.mutationFields((t) => ({ return post; }, }), -})); \ No newline at end of file +})); diff --git a/src/lib/server/pothos/schema/users.ts b/src/lib/server/pothos/schema/users.ts index 6aef62b..e62592b 100644 --- a/src/lib/server/pothos/schema/users.ts +++ b/src/lib/server/pothos/schema/users.ts @@ -23,4 +23,4 @@ builder.queryFields((t) => ({ return await prisma.user.findMany(); }, }), -})); \ No newline at end of file +})); diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index bff4064..5d81608 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -2,4 +2,4 @@ import { validateSession } from '$lib/server/auth'; export async function load(event) { await validateSession(event); -} \ No newline at end of file +} diff --git a/src/routes/app/+layout.server.ts b/src/routes/app/+layout.server.ts index b831d3e..894e1f4 100644 --- a/src/routes/app/+layout.server.ts +++ b/src/routes/app/+layout.server.ts @@ -7,4 +7,4 @@ export async function load(event) { return { user: rest, }; -} \ No newline at end of file +}