Consistent code formatting

This commit is contained in:
Sean Morley
2024-04-02 22:02:20 +00:00
parent 302a59c86d
commit 83cca15a8f
35 changed files with 6716 additions and 6511 deletions

View File

@@ -1,11 +1,13 @@
import { db } from '$lib/db/db.server';
import { featuredAdventures } from '$lib/db/schema';
import type { Adventure } from '$lib/utils/types';
import { db } from "$lib/db/db.server";
import { featuredAdventures } from "$lib/db/schema";
import type { Adventure } from "$lib/utils/types";
export const load = (async () => {
const result = await db.select().from(featuredAdventures).orderBy(featuredAdventures.id);
return {
result : result as Adventure[]
};
})
export const load = async () => {
const result = await db
.select()
.from(featuredAdventures)
.orderBy(featuredAdventures.id);
return {
result: result as Adventure[],
};
};